JsonCircularProgressIndicator constructor

JsonCircularProgressIndicator({
  1. Map<String, dynamic> args = const {},
  2. JsonWidgetRegistry? registry,
  3. Color? backgroundColor,
  4. Color? color,
  5. BoxConstraints? constraints,
  6. EdgeInsetsGeometry? padding,
  7. String? semanticsLabel,
  8. String? semanticsValue,
  9. dynamic strokeAlign = CircularProgressIndicator.strokeAlignCenter,
  10. StrokeCap? strokeCap,
  11. double? strokeWidth,
  12. double? trackGap,
  13. double? value,
  14. dynamic valueColor = null,
  15. 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,
     );