PadButtonItem class
Model of one pad button
Constructors
Properties
- backgroundColor → Color?
-
backgroundColor: color of button in default state
final
-
buttonIcon is optional; an icon displayed inside the button
optional parameter => needs null-aware operator
final
-
buttonImage is optional; image displayed inside button
optional => needs null-aware operator
final
-
buttonText is optional; the text to be displayed inside the
button. Omitted if buttonImage is set. Default vlaue is an empty
string.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int?
-
index required parameter, the key to recognize button instance
must be declared with null-aware operator (?)
final
- pressedColor → Color?
-
pressedColor: color of button when pressed
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
supportedGestures
→ List<
Gestures> -
supportedGestures: optional; list of gestures for button
will call the callback
PadButtonsView.padButtonPressedCallback
.final
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