Package-level declarations
Types
Link copied to clipboard
object ProgressIndicatorDefaults
Contains the default values used for LinearProgressIndicator and CircularProgressIndicator.
Functions
Link copied to clipboard
fun CircularProgressIndicator(modifier: Modifier = Modifier, color: Color = Color.Black, strokeWidth: Dp = ProgressIndicatorDefaults.StrokeWidth, backgroundColor: Color = Color.Transparent, strokeCap: StrokeCap = StrokeCap.Square)
Indeterminate Material Design circular progress indicator.
fun CircularProgressIndicator(@FloatRange(from = 0.0, to = 1.0) progress: Float, modifier: Modifier = Modifier, color: Color = Color.Black, strokeWidth: Dp = ProgressIndicatorDefaults.StrokeWidth, backgroundColor: Color = Color.Transparent, strokeCap: StrokeCap = StrokeCap.Butt)
Determinate Material Design circular progress indicator.
Link copied to clipboard
fun LinearProgressIndicator(modifier: Modifier = Modifier, color: Color = Color.Black, backgroundColor: Color = color.copy(alpha = IndicatorBackgroundOpacity), strokeCap: StrokeCap = StrokeCap.Butt)
Indeterminate Material Design linear progress indicator.
fun LinearProgressIndicator(@FloatRange(from = 0.0, to = 1.0) progress: Float, modifier: Modifier = Modifier, color: Color = Color.Black, backgroundColor: Color = color.copy(alpha = IndicatorBackgroundOpacity), strokeCap: StrokeCap = StrokeCap.Butt)
Determinate Material Design linear progress indicator.
Link copied to clipboard
fun SwipeRefreshFooter(state: UltraSwipeRefreshState, modifier: Modifier = Modifier, fade: Boolean = true, scale: Boolean = false, arrowEnabled: Boolean = true, backgroundColor: Color = Color.White, contentColor: Color = Color.Black, shape: Shape = CircleShape, paddingValues: PaddingValues = PaddingValues(12.dp), largeIndication: Boolean = false, elevation: Dp = 6.dp)
google官方样式;具体实现参见:SwipeRefreshIndicator
Link copied to clipboard
fun SwipeRefreshHeader(state: UltraSwipeRefreshState, modifier: Modifier = Modifier, fade: Boolean = true, scale: Boolean = false, arrowEnabled: Boolean = true, backgroundColor: Color = Color.White, contentColor: Color = Color.Black, shape: Shape = CircleShape, paddingValues: PaddingValues = PaddingValues(12.dp), largeIndication: Boolean = false, elevation: Dp = 6.dp)
google官方样式;具体实现参见:SwipeRefreshIndicator