TCard constructor
const
TCard({
- Key? key,
- required Widget child,
- EdgeInsetsGeometry? margin,
- double? elevation,
- BorderRadius? borderRadius,
- Color? backgroundColor,
- EdgeInsetsGeometry padding = const EdgeInsets.symmetric(vertical: 12, horizontal: 16),
- VoidCallback? onTap,
- 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,
});