UIProAppBarAction class
An action button for UIProAppBar.
Constructors
- UIProAppBarAction({required IconData icon, VoidCallback? onPressed, String? tooltip, String? badge, Color? color, Widget? child})
-
Creates an app bar action.
const
Properties
- badge → String?
-
Optional badge text.
final
- child → Widget?
-
Custom child widget (overrides icon).
final
- color → Color?
-
Custom icon color.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icon → IconData
-
The icon to display.
final
- onPressed → VoidCallback?
-
Called when the action is pressed.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tooltip → String?
-
Optional tooltip.
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