JsonMaterialBuilder constructor

JsonMaterialBuilder({
  1. required Duration animationDuration,
  2. required bool borderOnForeground,
  3. BorderRadius? borderRadius,
  4. required Clip clipBehavior,
  5. Color? color,
  6. required double elevation,
  7. EdgeInsetsGeometry? margin,
  8. required MaterialType materialType,
  9. EdgeInsetsGeometry? padding,
  10. Color? shadowColor,
  11. ShapeBorder? shape,
  12. Color? surfaceTintColor,
  13. TextStyle? textStyle,
})

Implementation

JsonMaterialBuilder({
  required this.animationDuration,
  required this.borderOnForeground,
  this.borderRadius,
  required this.clipBehavior,
  this.color,
  required this.elevation,
  this.margin,
  required this.materialType,
  this.padding,
  this.shadowColor,
  this.shape,
  this.surfaceTintColor,
  this.textStyle,
}) : super(numSupportedChildren: kNumSupportedChildren);