SheetDefaultsBehavior class abstract final

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

boundaryDampeningZone → const Dp
The distance above the hidden anchor inside which a downward nested scroll fling's speed is damped quadratically, so the expressive spring cannot overshoot the bottom edge (BottomSheetDefaults.BoundaryDampeningZone). (SheetDefaults.kt line 567.)
dragHandleVerticalPadding → const Dp
The space above and below a sheet's drag handle. (SheetDefaults.kt line 789.)
maxWidth → const Dp
The widest a modal bottom sheet grows (BottomSheetDefaults.SheetMaxWidth); on a wider window it stands centred at this width. (SheetDefaults.kt line 536.)
positionalThreshold → const Dp
How far a released sheet must have travelled from its anchor towards the next one to settle there rather than spring back (BottomSheetDefaults.PositionalThreshold). (SheetDefaults.kt line 557.)
velocityThreshold → const Dp
The release speed, in dp per second, above which a sheet settles on the next anchor in the fling's direction whatever its travel (BottomSheetDefaults.VelocityThreshold). (SheetDefaults.kt line 559.)