JsonCircularProgressIndicator constructor
JsonCircularProgressIndicator({
- Map<
String, dynamic> args = const {}, - JsonWidgetRegistry? registry,
- Color? backgroundColor,
- Color? color,
- BoxConstraints? constraints,
- EdgeInsetsGeometry? padding,
- String? semanticsLabel,
- String? semanticsValue,
- dynamic strokeAlign = CircularProgressIndicator.strokeAlignCenter,
- StrokeCap? strokeCap,
- double? strokeWidth,
- double? trackGap,
- double? value,
- dynamic valueColor = null,
- bool? year2023,
Implementation
JsonCircularProgressIndicator({
Map<String, dynamic> args = const {},
JsonWidgetRegistry? registry,
this.backgroundColor,
this.color,
this.constraints,
this.padding,
this.semanticsLabel,
this.semanticsValue,
this.strokeAlign = CircularProgressIndicator.strokeAlignCenter,
this.strokeCap,
this.strokeWidth,
this.trackGap,
this.value,
this.valueColor = null,
this.year2023,
}) : super(
jsonWidgetArgs: JsonCircularProgressIndicatorBuilderModel.fromDynamic(
{
'backgroundColor': backgroundColor,
'color': color,
'constraints': constraints,
'padding': padding,
'semanticsLabel': semanticsLabel,
'semanticsValue': semanticsValue,
'strokeAlign': strokeAlign,
'strokeCap': strokeCap,
'strokeWidth': strokeWidth,
'trackGap': trackGap,
'value': value,
'valueColor': valueColor,
'year2023': year2023,
...args,
},
args: args,
registry: registry,
),
jsonWidgetBuilder:
() => JsonCircularProgressIndicatorBuilder(
args: JsonCircularProgressIndicatorBuilderModel.fromDynamic(
{
'backgroundColor': backgroundColor,
'color': color,
'constraints': constraints,
'padding': padding,
'semanticsLabel': semanticsLabel,
'semanticsValue': semanticsValue,
'strokeAlign': strokeAlign,
'strokeCap': strokeCap,
'strokeWidth': strokeWidth,
'trackGap': trackGap,
'value': value,
'valueColor': valueColor,
'year2023': year2023,
...args,
},
args: args,
registry: registry,
),
),
jsonWidgetType: JsonCircularProgressIndicatorBuilder.kType,
);