PieAction class
Data of a circular button that will be displayed for the PieMenu.
Constructors
- PieAction({required Widget tooltip, required dynamic onSelect(), PieButtonTheme? buttonTheme, PieButtonTheme? buttonThemeHovered, required Widget? child})
- Creates a PieAction with a child widget.
- PieAction.builder({required Widget tooltip, required dynamic onSelect(), PieButtonTheme? buttonTheme, PieButtonTheme? buttonThemeHovered, required Widget builder(bool hovered)?})
- Creates a PieAction with a builder which provides whether the action is hovered or not as a parameter.
Properties
- builder → (Widget Function(bool hovered)?)
-
Widget builder which provides whether the action is hovered or not
as a parameter.
final
-
Button theme to use for idle state.
final
-
Button theme to use for hovered state.
final
- child → Widget?
-
Widget to display inside
PieButton
, usually an icon.final - hashCode → int
-
The hash code for this object.
no setterinherited
- onSelect → dynamic Function()
-
Function to trigger when
PieButton
is selected.final - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tooltip → Widget
-
Widget to display on PieCanvas when this action is hovered.
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