ButtonElement class

Represents a button model class , used to draw button element .

Inheritance

Constructors

ButtonElement.new({String elementType = UIElementTypeConstants.button, required String elementId, required String buttonText, ActionEntity? action, String? description, bool? disableAfterInteracted})
ButtonElement.fromMap(dynamic map)
factory

Properties

action ActionEntity?
getter/setter pairinherited
buttonText String
getter/setter pair
disableAfterInteracted bool
getter/setter pairinherited
elementId String
getter/setter pairinherited
elementType String
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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