CustomToolbarButton class

Custom toolbar buttons are a part of CustomButtonGroup objects. Each button has an icon, an action to perform when the button is pressed, and a highlight state.

Constructors

CustomToolbarButton({required IconData icon, required dynamic action()?, required bool isSelected})

Properties

action ↔ (dynamic Function()?)
Action called when user presses the icon
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
icon IconData
Icon to show in the toolbar
getter/setter pair
isSelected bool
Highlighted or not...
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