SplitButtonBehavior class abstract final

What Compose's SplitButton 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

centerOpticallyCoefficient → const double
The trailing button centres its content optically: it shifts the content by this share of the difference between its start and end corner radii (Modifier.horizontalCenterOptically), clamped to the content padding. (HorizontalCenterOptically.kt line 93.)
leadingButtonMinWidth → const Dp
The smallest width of a split button's leading button (the Row's defaultMinSize in SplitButtonDefaults.LeadingButton); the trailing button's minimum is the same constant (TrailingButtonMinWidth = LeadingButtonMinWidth). (SplitButton.kt line 397.)
pressMotion → const ExpressiveMotionKey
The spring each half of a split button morphs with on press and check. (SplitButton.kt line 697.)