MaintainedButtonController class
- Inheritance
-
- Object
- ButtonController
- MaintainedButtonController
Constructors
- MaintainedButtonController({bool pressedOnHover = false, bool unpressedOnPress = false, bool forceLatched = false, bool ignore = false})
Properties
- enabled ↔ bool
-
getter/setter pairinherited
- forceLatched ↔ bool
-
If true, a button can't be released by calling the press/release pair.
But it can still be released by setting latched to false.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- ignore ↔ bool
-
getter/setter pair
- latched ↔ bool
-
getter/setter pair
-
onPressedChange
↔ ValueChanged<
bool> ? -
getter/setter pairinherited
- pressed ↔ bool
-
getter/setter pairinherited
- pressedOnHover ↔ bool
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- unpressedOnPress ↔ bool
-
If true, a button returns to the unpressed state
immediately after the second press, i.e. a pointer shouldn't be
released to release the button.
getter/setter pair
Methods
-
handleMouseEnter(
) → void -
override
-
handleMouseExit(
) → void -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
press(
) → void -
override
-
release(
) → void -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited