-
public final class SquareSegmentedProgressIndicatorKt
-
-
Method Summary
Modifier and Type Method Description final static UnitSquareSegmentedProgressIndicator(Modifier modifier, Float progress, Dp strokeWidth, Color trackColor, Dp cornerRadiusDp, List<ProgressIndicatorSegment> trackSegments, Dp paddingDp)SquareSegmentedProgressIndicator represents a segmented progress indicator with square shape. -
-
Method Detail
-
SquareSegmentedProgressIndicator
@Composable() final static Unit SquareSegmentedProgressIndicator(Modifier modifier, Float progress, Dp strokeWidth, Color trackColor, Dp cornerRadiusDp, List<ProgressIndicatorSegment> trackSegments, Dp paddingDp)
SquareSegmentedProgressIndicator represents a segmented progress indicator with square shape.
- Parameters:
modifier- The modifier to be applied to the layout.progress- The current progress of the indicator.strokeWidth- The stroke width for the progress indicator.trackColor- The color of the track that is drawn behind the indicator color of the track sections.cornerRadiusDp- Radius of the corners that are on the square.trackSegments- A list of ProgressIndicatorSegment definitions, specifying the properties of each segment.paddingDp- This is the size of the gaps for each segment.
-
-
-
-