FUISurface constructor

const FUISurface({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsetsGeometry? padding,
  4. EdgeInsetsGeometry? margin,
  5. VoidCallback? onTap,
  6. Color? backgroundColor,
  7. Color? borderColor,
  8. double borderRadius = FUITokens.radiusLg,
  9. Clip clipBehavior = Clip.antiAlias,
})

Implementation

const FUISurface({
  super.key,
  required this.child,
  this.padding,
  this.margin,
  this.onTap,
  this.backgroundColor,
  this.borderColor,
  this.borderRadius = FUITokens.radiusLg,
  this.clipBehavior = Clip.antiAlias,
});