-
public final class ChipIconWithProgressKt
-
-
Method Summary
Modifier and Type Method Description final static UnitChipIconWithProgress(Modifier modifier, Paintable icon, Boolean largeIcon, Color progressIndicatorColor, Color progressTrackColor)A default icon implementation to be used with a Chip that accepts an icon as slot. final static UnitChipIconWithProgress(Float progress, Modifier modifier, Paintable icon, Boolean largeIcon, Color progressIndicatorColor, Color progressTrackColor)A default icon implementation to be used with a Chip that accepts an icon as slot. -
-
Method Detail
-
ChipIconWithProgress
@Composable() final static Unit ChipIconWithProgress(Modifier modifier, Paintable icon, Boolean largeIcon, Color progressIndicatorColor, Color progressTrackColor)
A default icon implementation to be used with a Chip that accepts an icon as slot. This implementation displays an icon with a circular progress indicator around it. The progress indicator is in an indeterminate state and spins indefinitely.
- Parameters:
modifier- Modifier to apply to this layout node.icon- Image or icon to be displayed in the center of this view.largeIcon- True if it should display the icon with in a large size.progressIndicatorColor- The color of the progress indicator that is around the icon.progressTrackColor- The color of the background for the progress indicator.
-
ChipIconWithProgress
@Composable() final static Unit ChipIconWithProgress(Float progress, Modifier modifier, Paintable icon, Boolean largeIcon, Color progressIndicatorColor, Color progressTrackColor)
A default icon implementation to be used with a Chip that accepts an icon as slot. This implementation displays an icon with a circular progress indicator around it. The progress indicator express the proportion of completion of an ongoing task.
- Parameters:
progress- The progress of this progress indicator as a percentage where 0.0 represents no progress and 100.0 represents completion.modifier- Modifier to apply to this layout node.icon- Image or icon to be displayed in the center of this view.largeIcon- True if it should display the icon with in a large size.progressIndicatorColor- The color of the progress indicator that is around the icon.progressTrackColor- The color of the background for the progress indicator.
-
-
-
-