CLSurface constructor
const
CLSurface({})
Implementation
const CLSurface({
super.key,
required this.kind,
this.child,
this.color,
this.radius,
this.border,
this.shadows,
this.padding,
this.clipBehavior = Clip.none,
this.width,
this.height,
}) : tintColor = null,
assert(kind != CLSurfaceKind.tint || color != null, 'CLSurfaceKind.tint richiede un colore: usa CLSurface.tint(color: ...)');