CupertinoAdaptiveActionsStyle class final
Visual and layout configuration used by CupertinoAdaptiveActions.
These values describe renderer-owned Cupertino geometry. They affect both the widgets and the costs submitted to the core resolver, so the visual layout and placement decision remain consistent.
const regular = CupertinoAdaptiveActionsStyle();
final compact = regular.copyWith(height: 40, iconSize: 18);
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → double
-
The preferred action region and button height.
final
- horizontalPadding → double
-
The padding applied to each horizontal side of a label button.
final
- iconButtonWidth → double
-
The width reserved for an icon-only primary button.
final
- iconLabelSpacing → double
-
The spacing between an icon and label in an extended button.
final
- iconSize → double
-
The Cupertino icon size used by primary buttons.
final
- minimumButtonWidth → double
-
The minimum width of a label-based primary button.
final
- overflowButtonWidth → double
-
The width reserved for the overflow menu trigger.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
The width reserved for a composite action's submenu affordance.
final
Methods
-
copyWith(
{double? height, double? minimumButtonWidth, double? iconButtonWidth, double? overflowButtonWidth, double? iconSize, double? iconLabelSpacing, double? horizontalPadding}) → CupertinoAdaptiveActionsStyle - Returns a copy with the supplied 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