MSurface constructor
const
MSurface({
- Key? key,
- Widget? child,
- BorderRadius borderRadius = BorderRadius.zero,
- BoxConstraints? constraints,
- BoxDecoration? decoration,
- EdgeInsets? padding,
- Color? color,
- double? height,
- double? width,
Implementation
const MSurface({
super.key,
this.child,
this.borderRadius = BorderRadius.zero,
this.constraints,
this.decoration,
this.padding,
this.color,
this.height,
this.width,
});