RemoteCircularProgressIndicator
Source set: Android
@Composable
public fun RemoteCircularProgressIndicator(
progress: RemoteFloat,
modifier: RemoteModifier = RemoteModifier,
enabled: RemoteBoolean = true.rb,
startAngle: RemoteFloat = RemoteProgressIndicatorDefaults.StartAngle,
endAngle: RemoteFloat = startAngle,
colors: RemoteProgressIndicatorColors = RemoteProgressIndicatorDefaults.colors(),
strokeWidth: RemoteDp = RemoteProgressIndicatorDefaults.DefaultStrokeWidth,
gapSize: RemoteDp = RemoteProgressIndicatorDefaults.calculateRecommendedGapSize(strokeWidth),
)
Material Design circular progress indicator.
For an animated progress, see:
Parameters
| progress | The progress of this progress indicator where 0.0 represents no progress and 1.0 represents completion. |
| modifier | Modifier to be applied to the CircularProgressIndicator. |
| enabled | controls the enabled state. When enabled is false, this component will appear visually disabled. Note that only solid colors are when enabled is an expression, otherwise it must be a constant. |
| startAngle | The starting position of the progress arc, measured clockwise in degrees. For example, 0 is 3 o'clock. |
| endAngle | The ending position of the progress arc. |
| colors | RemoteProgressIndicatorColors that will be used to resolve the indicator and track color. |
| strokeWidth | The stroke width for the progress indicator. Defaults to RemoteProgressIndicatorDefaults.DefaultStrokeWidth. |
| gapSize | The size (in RemoteDp) of the gap between the ends of the progress indicator and the track. The stroke endcaps are not included in this distance. |
RemoteCircularProgressIndicator
Source set: Android
public fun RemoteCircularProgressIndicator(
modifier: RemoteModifier = RemoteModifier,
colors: RemoteProgressIndicatorColors = RemoteProgressIndicatorDefaults.colors(),
strokeWidth: RemoteDp = RemoteProgressIndicatorDefaults.IndeterminateStrokeWidth,
gapSize: RemoteDp = RemoteProgressIndicatorDefaults.calculateRecommendedGapSize(strokeWidth),
)
Indeterminate Material Design circular progress indicator.
Indeterminate progress indicator expresses an unspecified wait time and spins indefinitely.
Example of indeterminate circular progress indicator:
Parameters
| modifier | Modifier to be applied to the CircularProgressIndicator. |
| colors | RemoteProgressIndicatorColors that will be used to resolve the indicator and track color. |
| strokeWidth | The stroke width for the progress indicator. |
| gapSize | The size (in RemoteDp) of the gap between the ends of the progress indicator and the track. |