CancelOption class

The 'Cancel' Button Option

Inheritance

Constructors

CancelOption({VoidCallback? onPressed})
Supply the optionally Callback when pressed. Assigns a boolean False to the result property.

Properties

hashCode int
The hash code for this object.
no setterinherited
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