NBCard constructor
const
NBCard({
- Key? key,
- String? bgImage,
- LinearGradient? gradient,
- String? mt,
- String? p,
- String? m,
- String? mb,
- String? mr,
- String? ml,
- String? mx,
- String? my,
- String? pt,
- String? pb,
- String? pl,
- String? pr,
- String? px,
- String? py,
- String? alignment,
- String? h,
- String? w,
- String? maxW,
- String? maxH,
- String? minH,
- String? minW,
- String? borderWidth,
- String? borderLeft,
- String? borderRight,
- String? borderTop,
- String? borderBottom,
- String? borderStyle,
- String? borderColor,
- String? borderRadius,
- String? borderBottomLeftRadius,
- String? borderBottomRightRadius,
- String? borderTopLeftRadius,
- String? borderTopRightRadius,
- String? borderLeftRadius,
- String? borderRightRadius,
- String? borderTopRadius,
- String? borderBottomRadius,
- String? color = 'white',
- String? shadow,
- Widget? child,
A Nativebase Design card: a panel with slightly rounded corners and an elevation shadow along with padding .
A card is a sheet of Box used to represent some related information, for example an album, a geographical location, a meal, contact details, etc.
Implementation
const NBCard({
super.key,
super.bgImage,
super.gradient,
super.mt,
super.p,
super.m,
super.mb,
super.mr,
super.ml,
super.mx,
super.my,
super.pt,
super.pb,
super.pl,
super.pr,
super.px,
super.py,
super.alignment,
super.h,
super.w,
super.maxW,
super.maxH,
super.minH,
super.minW,
super.borderWidth,
super.borderLeft,
super.borderRight,
super.borderTop,
super.borderBottom,
super.borderStyle,
super.borderColor,
super.borderRadius,
super.borderBottomLeftRadius,
super.borderBottomRightRadius,
super.borderTopLeftRadius,
super.borderTopRightRadius,
super.borderLeftRadius,
super.borderRightRadius,
super.borderTopRadius,
super.borderBottomRadius,
super.color = 'white',
super.shadow,
super.child,
});