Button class
A button component.
- Inheritance
- Object
- Base
- Button
Constructors
Properties
- $element → ElementQuery
-
The dquery object of element. Equivalent to $(element).
final, inherited
- element → Element
-
The element which component wires to.
final, inherited
- 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
-
texts
→ Map<
String, String> -
The text setting this button. [...]
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
setState(
String state) → Future - Set the button state, which will change the button text according to texts [...]
-
toggle(
) → void -
Toogle the
active
class on the button. If the button is of radio type, [...] -
toString(
) → String -
Returns a string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
inherited
Static Properties
-
DEFAULT_TEXTS
→ Map<
String, String> -
The default text setting of button.
final