What Compose's ButtonGroup sets in code (behavior.yaml, verified at the
pin).
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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
Constants
- compressionLimit → const Dp
-
How far a neighbour may be compressed by default: ButtonGroup.kt takes
ButtonDefaults.ContentPadding's end padding, which Button.kt sets to
ButtonTrailingSpace = this token (24dp). (
Button.ktline 911.) - expandedRatio → const double
-
How much a pressed button in a group widens, as a share of its width; its
neighbours give way. (
ButtonGroup.ktline 186.) - motion → const ExpressiveMotionKey
-
The spring a group's widths animate with (hard-coded beside a TODO in
Compose). (
ButtonGroup.ktline 138.) - releaseThreshold → const double
-
A released button's widening springs back only once its press progress has
passed this. (
ButtonGroup.ktline 1036.)