FloatingToolbarBehavior class abstract final

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

expandMotion → const ExpressiveMotionKey
The spring a floating toolbar expands and collapses on: its leading and trailing content, the toolbar beside a FAB and the FAB's size, and the shadow (FloatingToolbarDefaults.animationSpec). (FloatingToolbar.kt line 690.)
scrollDistanceThreshold → const Dp
How far content scrolls before a floating toolbar collapses or expands (FloatingToolbarDefaults.ScrollDistanceThreshold, the default of both thresholds of floatingToolbarVerticalNestedScroll). (FloatingToolbar.kt line 1140.)
snapMotion → const ExpressiveMotionKey
The spring an exit-always floating toolbar snaps on to fully shown or fully hidden after a scroll or drag stops part way (exitAlwaysScrollBehavior's snapAnimationSpec). (FloatingToolbar.kt line 717.)
toolbarToFabGap → const Dp
The gap between a floating toolbar and the FAB beside it (FloatingToolbarDefaults.ToolbarToFabGap). (FloatingToolbar.kt line 1152.)