Box constructor Null safety

const Box(
  1. {String? alignment,
  2. String? color,
  3. String? bgImage,
  4. String? shadow,
  5. String? borderWidth,
  6. String? borderLeft,
  7. String? borderRight,
  8. String? borderTop,
  9. String? borderBottom,
  10. String? borderStyle,
  11. String? borderColor,
  12. String? borderRadius,
  13. String? borderBottomLeftRadius,
  14. String? borderBottomRightRadius,
  15. String? borderTopLeftRadius,
  16. String? borderTopRightRadius,
  17. String? borderLeftRadius,
  18. String? borderRightRadius,
  19. String? borderTopRadius,
  20. String? borderBottomRadius,
  21. String? h,
  22. String? w,
  23. String? maxW,
  24. String? maxH,
  25. String? minH,
  26. String? minW,
  27. String? m,
  28. String? mt,
  29. String? mr,
  30. String? mb,
  31. String? ml,
  32. String? mx,
  33. String? my,
  34. String? p,
  35. String? pt,
  36. String? pr,
  37. String? pb,
  38. String? pl,
  39. String? px,
  40. String? py,
  41. Key? key,
  42. LinearGradient? gradient,
  43. Widget? child,
  44. String? height,
  45. 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,
});