scrollDistanceThreshold constant

Dp const scrollDistanceThreshold

How far content scrolls before a floating toolbar collapses or expands (FloatingToolbarDefaults.ScrollDistanceThreshold, the default of both thresholds of floatingToolbarVerticalNestedScroll). (FloatingToolbar.kt line 1140.)

Implementation

static const Dp scrollDistanceThreshold = Dp(40.0);