pub struct SystemMouseCursors;Expand description
A collection of system MouseCursors.
System cursors are standard mouse cursors that are provided by the current platform. They don’t require external resources.
SystemMouseCursors is a superset of the system cursors of every platform
that Flutter supports, therefore some of these objects might map to the same
result, or fallback to the BASIC arrow. This mapping is defined
by the Flutter engine.
The cursors should be named based on the cursors’ use cases instead of their appearance, because different platforms might (although not commonly) use different shapes for the same use case.
Implementations§
Source§impl SystemMouseCursors
impl SystemMouseCursors
Sourcepub const NONE: SystemMouseCursor
pub const NONE: SystemMouseCursor
Hide the cursor.
Any cursor other than NONE or MouseCursor.uncontrolled
unhides the cursor.
Sourcepub const BASIC: SystemMouseCursor
pub const BASIC: SystemMouseCursor
The platform-dependent basic cursor.
Typically the shape of an arrow.
Sourcepub const CLICK: SystemMouseCursor
pub const CLICK: SystemMouseCursor
A cursor that emphasizes an element being clickable, such as a hyperlink.
Typically the shape of a pointing hand.
Sourcepub const FORBIDDEN: SystemMouseCursor
pub const FORBIDDEN: SystemMouseCursor
A cursor indicating an operation that will not be carried out.
Typically the shape of a circle with a diagonal line. May fall back to
NO_DROP.
Sourcepub const WAIT: SystemMouseCursor
pub const WAIT: SystemMouseCursor
A cursor indicating the status that the program is busy and therefore can not be interacted with.
Typically the shape of an hourglass or a watch.
This cursor is not available as a system cursor on macOS. Although macOS displays a “spinning ball” cursor when busy, it’s handled by the OS and not exposed for applications to choose.
Sourcepub const PROGRESS: SystemMouseCursor
pub const PROGRESS: SystemMouseCursor
A cursor indicating the status that the program is busy but can still be interacted with.
Typically the shape of an arrow with an hourglass or a watch at the
corner. Does not fall back to WAIT if unavailable.
Sourcepub const CONTEXT_MENU: SystemMouseCursor
pub const CONTEXT_MENU: SystemMouseCursor
A cursor indicating somewhere the user can trigger a context menu.
Typically the shape of an arrow with a small menu at the corner.
Sourcepub const HELP: SystemMouseCursor
pub const HELP: SystemMouseCursor
A cursor indicating help information.
Typically the shape of a question mark, or an arrow therewith.
Sourcepub const TEXT: SystemMouseCursor
pub const TEXT: SystemMouseCursor
A cursor indicating selectable text.
Typically the shape of a capital I.
Sourcepub const VERTICAL_TEXT: SystemMouseCursor
pub const VERTICAL_TEXT: SystemMouseCursor
A cursor indicating selectable vertical text.
Typically the shape of a capital I rotated to be horizontal. May fall
back to TEXT.
Sourcepub const CELL: SystemMouseCursor
pub const CELL: SystemMouseCursor
A cursor indicating selectable table cells.
Typically the shape of a hollow plus sign.
Sourcepub const PRECISE: SystemMouseCursor
pub const PRECISE: SystemMouseCursor
A cursor indicating precise selection, such as selecting a pixel in a bitmap.
Typically the shape of a crosshair.
Sourcepub const MOVE: SystemMouseCursor
pub const MOVE: SystemMouseCursor
A cursor indicating moving something.
Typically the shape of four-way arrow. May fall back to
ALL_SCROLL.
Sourcepub const GRAB: SystemMouseCursor
pub const GRAB: SystemMouseCursor
A cursor indicating something that can be dragged.
Typically the shape of an open hand.
Sourcepub const GRABBING: SystemMouseCursor
pub const GRABBING: SystemMouseCursor
A cursor indicating something that is being dragged.
Typically the shape of a closed hand.
Sourcepub const NO_DROP: SystemMouseCursor
pub const NO_DROP: SystemMouseCursor
Sourcepub const ALIAS: SystemMouseCursor
pub const ALIAS: SystemMouseCursor
A cursor indicating that the current operation will create an alias of, or a shortcut of the item.
Typically the shape of an arrow with a shortcut icon at the corner.
Sourcepub const COPY: SystemMouseCursor
pub const COPY: SystemMouseCursor
A cursor indicating that the current operation will copy the item.
Typically the shape of an arrow with a boxed plus sign at the corner.
Sourcepub const DISAPPEARING: SystemMouseCursor
pub const DISAPPEARING: SystemMouseCursor
A cursor indicating that the current operation will result in the disappearance of the item.
Typically the shape of an arrow with a cloud of smoke at the corner.
Sourcepub const ALL_SCROLL: SystemMouseCursor
pub const ALL_SCROLL: SystemMouseCursor
A cursor indicating scrolling in any direction.
Typically the shape of a dot surrounded by 4 arrows.
Sourcepub const RESIZE_LEFT_RIGHT: SystemMouseCursor
pub const RESIZE_LEFT_RIGHT: SystemMouseCursor
A cursor indicating resizing an object bidirectionally from its left or right edge.
Typically the shape of a bidirectional arrow pointing left and right.
Sourcepub const RESIZE_UP_DOWN: SystemMouseCursor
pub const RESIZE_UP_DOWN: SystemMouseCursor
A cursor indicating resizing an object bidirectionally from its top or bottom edge.
Typically the shape of a bidirectional arrow pointing up and down.
Sourcepub const RESIZE_UP_LEFT_DOWN_RIGHT: SystemMouseCursor
pub const RESIZE_UP_LEFT_DOWN_RIGHT: SystemMouseCursor
A cursor indicating resizing an object bidirectionally from its top left or bottom right corner.
Typically the shape of a bidirectional arrow pointing upper left and lower right.
Sourcepub const RESIZE_UP_RIGHT_DOWN_LEFT: SystemMouseCursor
pub const RESIZE_UP_RIGHT_DOWN_LEFT: SystemMouseCursor
A cursor indicating resizing an object bidirectionally from its top right or bottom left corner.
Typically the shape of a bidirectional arrow pointing upper right and lower left.
Sourcepub const RESIZE_UP: SystemMouseCursor
pub const RESIZE_UP: SystemMouseCursor
A cursor indicating resizing an object from its top edge.
Typically the shape of an arrow pointing up. May fallback to
RESIZE_UP_DOWN.
Sourcepub const RESIZE_DOWN: SystemMouseCursor
pub const RESIZE_DOWN: SystemMouseCursor
A cursor indicating resizing an object from its bottom edge.
Typically the shape of an arrow pointing down. May fallback to
RESIZE_UP_DOWN.
Sourcepub const RESIZE_LEFT: SystemMouseCursor
pub const RESIZE_LEFT: SystemMouseCursor
A cursor indicating resizing an object from its left edge.
Typically the shape of an arrow pointing left. May fallback to
RESIZE_LEFT_RIGHT.
Sourcepub const RESIZE_RIGHT: SystemMouseCursor
pub const RESIZE_RIGHT: SystemMouseCursor
A cursor indicating resizing an object from its right edge.
Typically the shape of an arrow pointing right. May fallback to
RESIZE_LEFT_RIGHT.
Sourcepub const RESIZE_UP_LEFT: SystemMouseCursor
pub const RESIZE_UP_LEFT: SystemMouseCursor
A cursor indicating resizing an object from its top-left corner.
Typically the shape of an arrow pointing upper left. May fallback to
RESIZE_UP_LEFT_DOWN_RIGHT.
Sourcepub const RESIZE_UP_RIGHT: SystemMouseCursor
pub const RESIZE_UP_RIGHT: SystemMouseCursor
A cursor indicating resizing an object from its top-right corner.
Typically the shape of an arrow pointing upper right. May fallback to
RESIZE_UP_RIGHT_DOWN_LEFT.
Sourcepub const RESIZE_DOWN_LEFT: SystemMouseCursor
pub const RESIZE_DOWN_LEFT: SystemMouseCursor
A cursor indicating resizing an object from its bottom-left corner.
Typically the shape of an arrow pointing lower left. May fallback to
RESIZE_UP_RIGHT_DOWN_LEFT.
Sourcepub const RESIZE_DOWN_RIGHT: SystemMouseCursor
pub const RESIZE_DOWN_RIGHT: SystemMouseCursor
A cursor indicating resizing an object from its bottom-right corner.
Typically the shape of an arrow pointing lower right. May fallback to
RESIZE_UP_LEFT_DOWN_RIGHT.
Sourcepub const RESIZE_COLUMN: SystemMouseCursor
pub const RESIZE_COLUMN: SystemMouseCursor
A cursor indicating resizing a column, or an item horizontally.
Typically the shape of arrows pointing left and right with a vertical bar
separating them. May fallback to RESIZE_LEFT_RIGHT.
Sourcepub const RESIZE_ROW: SystemMouseCursor
pub const RESIZE_ROW: SystemMouseCursor
A cursor indicating resizing a row, or an item vertically.
Typically the shape of arrows pointing up and down with a horizontal bar
separating them. May fallback to RESIZE_UP_DOWN.
Sourcepub const ZOOM_IN: SystemMouseCursor
pub const ZOOM_IN: SystemMouseCursor
A cursor indicating zooming in.
Typically a magnifying glass with a plus sign.
Sourcepub const ZOOM_OUT: SystemMouseCursor
pub const ZOOM_OUT: SystemMouseCursor
A cursor indicating zooming out.
Typically a magnifying glass with a minus sign.