JsonLinearProgressIndicator constructor

JsonLinearProgressIndicator({
  1. Map<String, dynamic> args = const {},
  2. JsonWidgetRegistry? registry,
  3. Color? backgroundColor,
  4. BorderRadiusGeometry borderRadius = BorderRadius.zero,
  5. Color? color,
  6. double? minHeight,
  7. String? semanticsLabel,
  8. String? semanticsValue,
  9. double? value,
  10. 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,
      );