AdaptiveActionButton class

Inheritance

Constructors

AdaptiveActionButton({VoidCallback? onPressed, bool showLabel = true, String? tooltipMessage, required String label, required Widget icon})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
icon → Widget
The icon widget representing the button.
final
label → String
The label text for the icon button.
final
onPressed → VoidCallback?
A callback function to be executed when the icon button is pressed.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
showLabel → bool
A flag indicating whether to show the label text.
final
tooltipMessage → String?
An optional message to be displayed as a tooltip for the icon button.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMacos(BuildContext context) → ToolBarIconButton
Converts the model to its representation on the macOS platform.
toString() → String
A string representation of this object.
inherited
toWindows(BuildContext context) → Widget
Converts the model to its representation on the Windows platform.

Operators

operator ==(Object other) → bool
The equality operator.
inherited