DeterminateLoadingIndicator constructor
const
DeterminateLoadingIndicator({
- Key? key,
- bool contained = false,
- required double progress,
- List<
RoundedPolygon> ? indicatorPolygons, - OutlinedBorder? containerShape,
- Color? containerColor,
- BorderSide? containerOutline,
- Color? activeIndicatorColor,
- BorderSide? activeIndicatorOutline,
- LoadingIndicatorForEachPolygon forEachPolygon = defaultForEachPolygon,
Implementation
const DeterminateLoadingIndicator({
super.key,
this.contained = false,
required this.progress,
this.indicatorPolygons,
this.containerShape,
this.containerColor,
this.containerOutline,
this.activeIndicatorColor,
this.activeIndicatorOutline,
this.forEachPolygon = defaultForEachPolygon,
}) : assert(progress >= 0.0 && progress <= 1.0),
assert(
indicatorPolygons == null || indicatorPolygons.length >= 2,
"indicatorPolygons should have, at least, two RoundedPolygons",
);