NeoBox constructor
const
NeoBox({
- List<
double> ? margin, - List<
double> ? marginLeft, - List<
double> ? marginTop, - List<
double> ? marginRight, - List<
double> ? marginBottom, - List<
double> ? marginX, - List<
double> ? padding, - List<
double> ? paddingLeft, - List<
double> ? paddingTop, - List<
double> ? paddingRight, - List<
double> ? paddingBottom, - List<
Color> ? background, - List<
double> ? height, - List<
double> ? width, - List<
double> ? minWidth, - List<
double> ? maxWidth, - List<
double> ? minHeight, - List<
double> ? maxHeight, - List<
Display> ? display, - List<
FlexDirection> ? flexDirection, - List<
double> ? borderWidth, - List<
Color> ? borderColor, - required List<
Widget> children, - Key? key,
Implementation
const NeoBox({
// Margin and padding
this.margin,
this.marginLeft,
this.marginTop,
this.marginRight,
this.marginBottom,
this.marginX,
this.padding,
this.paddingLeft,
this.paddingTop,
this.paddingRight,
this.paddingBottom,
// Color and background color#
this.background,
// Gradient
// Layout, width and height
this.height,
this.width,
this.minWidth,
this.maxWidth,
this.minHeight,
this.maxHeight,
this.display,
// Flexbox
this.flexDirection,
// Borders
this.borderWidth,
this.borderColor,
// Others
required this.children,
Key? key,
}) : super(key: key);