AskButton<T> class

Describes a simple button.

Constructors

AskButton({Color color, @required String text, AskButtonType type = AskButtonType.text, @required T value})
Main constructor

Properties

color Color
Describes the text color and splash color on text and outlined buttons. Describes background color on raised and flat buttons.
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
text String
The text of the button.
final
type AskButtonType
The type of button (FlatButton, RaisedButton, TextButton, OutlinedButton).
final
value → T
The return value of the button.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited