BarButton class
Represnts the 'Bottom Bar Button.'
Constructors
- BarButton({String? text, IconData? icon, VoidCallback? onPressed})
-
Supply the Button's label, icon, and 'onPressed' routine.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData?
-
Optionally supply an icon for the button.
final
- onPressed → VoidCallback?
-
Optionally supply the button's 'onPressed' routine.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- text → String?
-
Optionally supply the Button's label.
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