JsonMaterialBuilderModel constructor

const JsonMaterialBuilderModel(
  1. Map<String, dynamic> args, {
  2. Duration animationDuration = kThemeChangeDuration,
  3. bool borderOnForeground = true,
  4. BorderRadius? borderRadius,
  5. Clip clipBehavior = Clip.none,
  6. Color? color,
  7. double elevation = 0.0,
  8. EdgeInsetsGeometry? margin,
  9. MaterialType materialType = MaterialType.canvas,
  10. EdgeInsetsGeometry? padding,
  11. Color? shadowColor,
  12. ShapeBorder? shape,
  13. Color? surfaceTintColor,
  14. TextStyle? textStyle,
  15. 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,
});