MouseCursorManager constructor

MouseCursorManager(
  1. MouseCursor fallbackMouseCursor
)

Create a MouseCursorManager by specifying the fallback cursor.

The fallbackMouseCursor must not be MouseCursor.defer (typically SystemMouseCursors.basic).

Implementation

MouseCursorManager(this.fallbackMouseCursor)
  : assert(fallbackMouseCursor != MouseCursor.defer);