XAction class
Constructors
- XAction(String label, {Icon? icon, IconData? iconData, bool checked = false, bool enable = true, Color? color, XActionDisplay? display, VoidCallback? action, XActionCallback? callback})
Properties
- action ↔ VoidCallback?
-
getter/setter pair
- callback ↔ XActionCallback?
-
getter/setter pair
- checked ↔ bool
-
getter/setter pair
- color ↔ Color?
-
getter/setter pair
- display ↔ XActionDisplay?
-
getter/setter pair
- enable ↔ bool
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasIcon → bool
-
no setter
- icon ↔ Icon?
-
getter/setter pair
- iconData ↔ IconData?
-
getter/setter pair
- iconWidget → Icon?
-
no setter
- label ↔ String
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- titleWidget → Widget
-
no setter
Methods
-
chip(
{bool noIcon = true}) → HareWidget -
elevatedButton(
) → HareWidget -
iconButton(
) → HareWidget -
listTile(
) → ListTile -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onclick(
) → void -
outlineButton(
) → HareWidget -
toString(
) → String -
A string representation of this object.
override
-
update(
) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited