Stylish Linear Progress Indicator
A linear progress indicator styled with the Stylish theme. Wraps LinearProgressIndicator with theme-aware defaults.
When progress is null (default) the indicator animates indeterminately; when non-null, the determinate variant is shown with the bar filled up to the reported progress. The default strokeCap is StrokeCap.Butt and the default gapSize is 0 dp, producing a continuous bar without a track gap.
Parameters
Modifier applied to the indicator.
Color of the progress bar. Defaults to MaterialTheme.colorScheme.primary.
Color of the background track. Defaults to MaterialTheme.colorScheme.surfaceVariant.
Current progress in 0f..1f, or null (default) for an indeterminate indicator. Values outside the range are coerced into it by Material.
Cap style for the bar endpoints. Defaults to StrokeCap.Butt.
Size of the gap between the progress bar and the track. Defaults to 0 dp (no gap).
Custom drawing of the stop indicator at the end of the determinate bar, receiving the DrawScope of the indicator. When null (default), Material's default stop indicator is drawn.