MouseCursorManager constructor Null safety
- 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);