JsonLinearProgressIndicator constructor
JsonLinearProgressIndicator({
- Map<
String, dynamic> args = const {}, - JsonWidgetRegistry? registry,
- Color? backgroundColor,
- BorderRadiusGeometry borderRadius = BorderRadius.zero,
- Color? color,
- double? minHeight,
- String? semanticsLabel,
- String? semanticsValue,
- double? value,
- required dynamic valueColor,
Implementation
JsonLinearProgressIndicator({
Map<String, dynamic> args = const {},
JsonWidgetRegistry? registry,
this.backgroundColor,
this.borderRadius = BorderRadius.zero,
this.color,
this.minHeight,
this.semanticsLabel,
this.semanticsValue,
this.value,
required this.valueColor,
}) : super(
jsonWidgetArgs: JsonLinearProgressIndicatorBuilderModel.fromDynamic(
{
'backgroundColor': backgroundColor,
'borderRadius': borderRadius,
'color': color,
'minHeight': minHeight,
'semanticsLabel': semanticsLabel,
'semanticsValue': semanticsValue,
'value': value,
'valueColor': valueColor,
...args,
},
args: args,
registry: registry,
),
jsonWidgetBuilder: () => JsonLinearProgressIndicatorBuilder(
args: JsonLinearProgressIndicatorBuilderModel.fromDynamic(
{
'backgroundColor': backgroundColor,
'borderRadius': borderRadius,
'color': color,
'minHeight': minHeight,
'semanticsLabel': semanticsLabel,
'semanticsValue': semanticsValue,
'value': value,
'valueColor': valueColor,
...args,
},
args: args,
registry: registry,
),
),
jsonWidgetType: JsonLinearProgressIndicatorBuilder.kType,
);