IButtonBuilder class abstract
Allows to build button. Generic interface for all types of buttons
- Inheritance
-
- Object
- Builder
- IComponentBuilder
- IButtonBuilder
- Implementers
Constructors
- IButtonBuilder(String label, ComponentStyle style, {bool disabled = false, IEmoji? emoji})
- Creates instance of IButtonBuilder
Properties
- disabled ↔ bool
-
True if emoji is disabled
getter/setter pair
- emoji ↔ IEmoji?
-
Additional emoji for button
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- label → String
-
Label for button. Max 80 characters.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → ComponentStyle
-
Style of button. See
ComponentStyle
final - type → ComponentType
-
Type of component
no setteroverride
Methods
-
build(
) → Map< String, dynamic> -
Returns built response for api
override
-
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