JsonMaterialBuilderModel constructor
const
JsonMaterialBuilderModel(
- Map<
String, dynamic> args, { - Duration animationDuration = kThemeChangeDuration,
- bool borderOnForeground = true,
- BorderRadius? borderRadius,
- Clip clipBehavior = Clip.none,
- Color? color,
- double elevation = 0.0,
- EdgeInsetsGeometry? margin,
- MaterialType materialType = MaterialType.canvas,
- EdgeInsetsGeometry? padding,
- Color? shadowColor,
- ShapeBorder? shape,
- Color? surfaceTintColor,
- TextStyle? textStyle,
- JsonWidgetData? child,
Implementation
const JsonMaterialBuilderModel(
super.args, {
this.animationDuration = kThemeChangeDuration,
this.borderOnForeground = true,
this.borderRadius,
this.clipBehavior = Clip.none,
this.color,
this.elevation = 0.0,
this.margin,
this.materialType = MaterialType.canvas,
this.padding,
this.shadowColor,
this.shape,
this.surfaceTintColor,
this.textStyle,
this.child,
});