JsonMaterialBuilder constructor
const
JsonMaterialBuilder({
- required Duration animationDuration,
- required bool borderOnForeground,
- BorderRadius? borderRadius,
- required Clip clipBehavior,
- Color? color,
- required double elevation,
- EdgeInsetsGeometry? margin,
- required MaterialType materialType,
- EdgeInsetsGeometry? padding,
- Color? shadowColor,
- ShapeBorder? shape,
- Color? surfaceTintColor,
- TextStyle? textStyle,
Implementation
const 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);