OKOption class
The 'OK' Button Option
Constructors
- OKOption({Key? key, VoidCallback? onPressed})
- Supply the optionally Callback when pressed. Assigns a boolean True to the result property.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key?
-
Key used for testing
finalinherited
- onPressed → VoidCallback?
-
The optional callback function
finalinherited
- result → dynamic
-
The result of any type that's assigned when the button is pressed.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
The optional Button Text label.
finalinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited