ProgressIndicatorOptions constructor
const
ProgressIndicatorOptions({
- double? width,
- double? height,
- required ProgressIndicatorStyle style,
- double? value,
- Color? color,
- Animation<
Color?> ? valueColor, - Color? backgroundColor,
- String? semanticsLabel,
- String? semanticsValue,
- double? minHeight,
- BorderRadiusGeometry borderRadius = BorderRadius.zero,
- double strokeWidth = 4,
- double strokeAlign = 0,
- StrokeCap? strokeCap,
- double elevation = 2.0,
- EdgeInsetsGeometry indicatorMargin = const EdgeInsets.all(4.0),
- EdgeInsetsGeometry indicatorPadding = const EdgeInsets.all(12.0),
Implementation
const ProgressIndicatorOptions({
this.width,
this.height,
required this.style,
this.value,
this.color,
this.valueColor,
this.backgroundColor,
this.semanticsLabel,
this.semanticsValue,
/// [ProgressIndicatorOptions.linear]
this.minHeight,
this.borderRadius = BorderRadius.zero,
/// [ProgressIndicatorOptions.circular]
this.strokeWidth = 4,
this.strokeAlign = 0,
this.strokeCap,
/// [ProgressIndicatorOptions.refresh]
this.elevation = 2.0,
this.indicatorMargin = const EdgeInsets.all(4.0),
this.indicatorPadding = const EdgeInsets.all(12.0),
});