Skip to content

Cursor

Use utilities like cursor-pointer and cursor-grab to control which cursor is displayed when hovering over an element.

The playground demo paints a cursor-shape icon inside each button (Flutter cannot render the OS-rendered hover cursor into a static frame; the icon stands in as a visual cue).

Style('cursor-pointer ...', child: Text('Submit'))
Style('cursor-progress ...', child: Text('Saving...'))
Style('cursor-not-allowed ...', child: Text('Confirm'))
ClassDescription
cursor-autoDefault browser cursor behavior
cursor-defaultDefault arrow cursor
cursor-pointerPointing hand cursor
cursor-waitLoading/wait cursor
cursor-textText selection cursor
cursor-moveMove/drag cursor
cursor-not-allowedNot-allowed cursor
cursor-grabGrab (open hand) cursor
cursor-grabbingGrabbing (closed hand) cursor
cursor-progressProgress (busy) cursor
cursor-helpHelp (question-mark) cursor
cursor-crosshairCrosshair cursor
cursor-zoom-in / cursor-zoom-outZoom cursors
cursor-{n,e,s,w,ne,nw,se,sw,ew,ns,nesw,nwse}-resizeDirectional resize cursors
cursor-col-resize / cursor-row-resize / cursor-all-scrollScrollable / resize cursors
cursor-alias / cursor-copy / cursor-no-dropAlias / copy / blocked-drop cursors
cursor-cell / cursor-context-menu / cursor-vertical-text / cursor-noneMisc CSS cursors