SolidAppBarAction class
Configuration for an AppBar action button.
Constructors
- SolidAppBarAction.new({required IconData icon, required VoidCallback onPressed, String? tooltip, Color? color, bool hideOnNarrowScreen = false, bool hideOnVeryNarrowScreen = false})
-
const
Properties
- color → Color?
-
Custom colour for the icon. If null, uses theme primary colour.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hideOnNarrowScreen → bool
-
Whether this action should be hidden on narrow screens.
final
- hideOnVeryNarrowScreen → bool
-
Whether this action should be hidden on very narrow screens.
final
- icon → IconData
-
The icon to display.
final
- onPressed → VoidCallback
-
The callback when the button is pressed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tooltip → String?
-
The tooltip message to show on hover/long press.
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