-
public final class SwipeRefreshIndicatorKt
-
-
Method Summary
Modifier and Type Method Description final static UnitSwipeRefreshIndicator(SwipeRefreshState state, Dp refreshTriggerDistance, Modifier modifier, Boolean fade, Boolean scale, Boolean arrowEnabled, Color backgroundColor, Color contentColor, Shape shape, Dp refreshingOffset, Boolean largeIndication, Dp elevation)Indicator composable which is typically used in conjunction with SwipeRefresh. -
-
Method Detail
-
SwipeRefreshIndicator
final static Unit SwipeRefreshIndicator(SwipeRefreshState state, Dp refreshTriggerDistance, Modifier modifier, Boolean fade, Boolean scale, Boolean arrowEnabled, Color backgroundColor, Color contentColor, Shape shape, Dp refreshingOffset, Boolean largeIndication, Dp elevation)
Indicator composable which is typically used in conjunction with SwipeRefresh.
- Parameters:
state- The SwipeRefreshState passed into the SwipeRefreshindicatorblock.modifier- The modifier to apply to this layout.fade- Whether the arrow should fade in/out as it is scrolled in.scale- Whether the indicator should scale up/down as it is scrolled in.arrowEnabled- Whether an arrow should be drawn on the indicator.backgroundColor- The color of the indicator background surface.contentColor- The color for the indicator's contents.shape- The shape of the indicator background surface.largeIndication- Whether the indicator should be 'large' or not.elevation- The size of the shadow below the indicator.
-
-
-
-