SolidAppBarActionItem class

Represents an AppBar action item that can be reordered and configured for overflow behaviour.

Constructors

SolidAppBarActionItem({required String id, required String label, required IconData icon, bool showInOverflow = false, bool isVisible = true, int order = 0})
const

Properties

hashCode int
The hash code for this object.
no setterinherited
icon IconData
Icon for the action.
final
id String
Unique identifier for this action item.
final
isVisible bool
Whether this item is visible in the AppBar.
final
label String
Display label for the action.
final
order int
Priority order for display (lower numbers appear first).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showInOverflow bool
Whether this item should appear in the overflow menu when screen is narrow.
final

Methods

copyWith({String? id, String? label, IconData? icon, bool? showInOverflow, bool? isVisible, int? order}) SolidAppBarActionItem
Creates a copy of this item with the given fields replaced.
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