JsonCircularProgressIndicator constructor

JsonCircularProgressIndicator({
  1. Map<String, dynamic> args = const {},
  2. JsonWidgetRegistry? registry,
  3. Color? backgroundColor,
  4. Color? color,
  5. String? semanticsLabel,
  6. String? semanticsValue,
  7. dynamic strokeAlign = CircularProgressIndicator.strokeAlignCenter,
  8. StrokeCap? strokeCap,
  9. double strokeWidth = 4.0,
  10. double? value,
  11. dynamic valueColor = null,
})

Implementation

JsonCircularProgressIndicator({
  Map<String, dynamic> args = const {},
  JsonWidgetRegistry? registry,
  this.backgroundColor,
  this.color,
  this.semanticsLabel,
  this.semanticsValue,
  this.strokeAlign = CircularProgressIndicator.strokeAlignCenter,
  this.strokeCap,
  this.strokeWidth = 4.0,
  this.value,
  this.valueColor = null,
}) : super(
        jsonWidgetArgs: JsonCircularProgressIndicatorBuilderModel.fromDynamic(
          {
            'backgroundColor': backgroundColor,
            'color': color,
            'semanticsLabel': semanticsLabel,
            'semanticsValue': semanticsValue,
            'strokeAlign': strokeAlign,
            'strokeCap': strokeCap,
            'strokeWidth': strokeWidth,
            'value': value,
            'valueColor': valueColor,
            ...args,
          },
          args: args,
          registry: registry,
        ),
        jsonWidgetBuilder: () => JsonCircularProgressIndicatorBuilder(
          args: JsonCircularProgressIndicatorBuilderModel.fromDynamic(
            {
              'backgroundColor': backgroundColor,
              'color': color,
              'semanticsLabel': semanticsLabel,
              'semanticsValue': semanticsValue,
              'strokeAlign': strokeAlign,
              'strokeCap': strokeCap,
              'strokeWidth': strokeWidth,
              'value': value,
              'valueColor': valueColor,
              ...args,
            },
            args: args,
            registry: registry,
          ),
        ),
        jsonWidgetType: JsonCircularProgressIndicatorBuilder.kType,
      );