CLSurface.card constructor

const CLSurface.card({
  1. Key? key,
  2. Widget? child,
  3. Color? color,
  4. double? radius,
  5. BoxBorder? border,
  6. List<BoxShadow>? shadows,
  7. EdgeInsetsGeometry? padding,
  8. Clip clipBehavior = Clip.none,
  9. double? width,
  10. double? height,
})

Implementation

const CLSurface.card({
  super.key,
  this.child,
  this.color,
  this.radius,
  this.border,
  this.shadows,
  this.padding,
  this.clipBehavior = Clip.none,
  this.width,
  this.height,
})  : kind = CLSurfaceKind.cardElevated,
      tintColor = null;