ActionItemModel class
Can be used to provide action buttons in the AnimatedFab using instances of this class
Constructors
- ActionItemModel({required String text, required IconData icon, required VoidCallback onPressed})
-
Can be used to provide action buttons in the AnimatedFab using
instances of this class
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
Provide the icon that is shown as the child of the action FAB
final
- onPressed → VoidCallback
-
Provide the callback function which will run when the action
FAB is pressed
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String
-
Provide the text that is displayed in the action FAB
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