TCard constructor

const TCard({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsetsGeometry? margin,
  4. double? elevation,
  5. BorderRadius? borderRadius,
  6. Color? backgroundColor,
  7. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(vertical: 12, horizontal: 16),
  8. VoidCallback? onTap,
  9. List<BoxShadow>? boxShadow,
})

Implementation

const TCard({
  super.key,
  required this.child,
  this.margin,
  this.elevation,
  this.borderRadius,
  this.backgroundColor,
  this.padding = const EdgeInsets.symmetric(vertical: 12, horizontal: 16),
  this.onTap,
  this.boxShadow,
});