HawkFabMenuItem class

Model for single menu item

Constructors

HawkFabMenuItem({required String label, required Function ontap, required Icon icon, Color? color, BorderSide buttonBorder = BorderSide.none, Color? labelBackgroundColor, Color? labelColor, String? heroTag})

Properties

buttonBorder BorderSide
getter/setter pair
color Color?
Background color for icon
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
heroTag String?
The tag to apply to the button's Hero widget.
getter/setter pair
icon Icon
Corresponding icon for the menu item
getter/setter pair
label String
Text label for for the menu item
getter/setter pair
labelBackgroundColor Color?
Background color for label
getter/setter pair
labelColor Color?
Text color for label
getter/setter pair
ontap Function
Action that is to be performed on tapping the menu item
getter/setter pair
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
toString() String
A string representation of this object.
inherited

Operators

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