Box constructor
const
Box({
- String? alignment,
- String? color,
- String? bgImage,
- String? shadow,
- 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? h,
- String? w,
- String? maxW,
- String? maxH,
- String? minH,
- String? minW,
- String? m,
- String? mt,
- String? mr,
- String? mb,
- String? ml,
- String? mx,
- String? my,
- String? p,
- String? pt,
- String? pr,
- String? pb,
- String? pl,
- String? px,
- String? py,
- Key? key,
- LinearGradient? gradient,
- Widget? child,
- String? height,
- String? width,
Implementation
const Box({
this.alignment,
this.color,
this.bgImage,
this.shadow,
this.borderWidth,
this.borderLeft,
this.borderRight,
this.borderTop,
this.borderBottom,
this.borderStyle,
this.borderColor,
this.borderRadius,
this.borderBottomLeftRadius,
this.borderBottomRightRadius,
this.borderTopLeftRadius,
this.borderTopRightRadius,
this.borderLeftRadius,
this.borderRightRadius,
this.borderTopRadius,
this.borderBottomRadius,
this.h,
this.w,
this.maxW,
this.maxH,
this.minH,
this.minW,
this.m,
this.mt,
this.mr,
this.mb,
this.ml,
this.mx,
this.my,
this.p,
this.pt,
this.pr,
this.pb,
this.pl,
this.px,
this.py,
super.key,
this.gradient,
this.child,
this.height,
this.width,
});