• Tong Mu's avatar
    MouseCursor uses a special class instead of null to defer (#57094) · 5fa1c60b
    Tong Mu authored
    * Uses a special cursor value MouseCursor.defer to mark deferring. MouseTrackerAnnotation.cursor is now non-null. The mouseCursor argument of widgets or render objects can be null, which indicates using the default value.
    * Moves SystemMouseCursors.uncontrolled to MouseCursor.uncontrolled.
    * Changes how MouseCursor.debugDescription is defined. Previously MouseCursor.toString returns $runtimeType($debugDescription), while now it returns $debugDescription. Implementations of classes are updated, except for the ones of MouseCursor.defer and MouseCursor.uncontrolled are simply "defer" and "uncontrolled".
    5fa1c60b
Name
Last commit
Last update
..
lib Loading commit data...
test Loading commit data...
BUILD.gn Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
build.yaml Loading commit data...
pubspec.yaml Loading commit data...