NeoBox constructor

const NeoBox({
  1. List<double>? margin,
  2. List<double>? marginLeft,
  3. List<double>? marginTop,
  4. List<double>? marginRight,
  5. List<double>? marginBottom,
  6. List<double>? marginX,
  7. List<double>? padding,
  8. List<double>? paddingLeft,
  9. List<double>? paddingTop,
  10. List<double>? paddingRight,
  11. List<double>? paddingBottom,
  12. List<Color>? background,
  13. List<double>? height,
  14. List<double>? width,
  15. List<double>? minWidth,
  16. List<double>? maxWidth,
  17. List<double>? minHeight,
  18. List<double>? maxHeight,
  19. List<Display>? display,
  20. List<FlexDirection>? flexDirection,
  21. List<double>? borderWidth,
  22. List<Color>? borderColor,
  23. required List<Widget> children,
  24. 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);