Box constructor

const Box({
  1. Key? key,
  2. required Widget child,
  3. EdgeInsetsGeometry? margin,
  4. EdgeInsetsGeometry? padding,
  5. Color? borderColor,
  6. double? borderWidth,
  7. Color? backgroundColor,
})

Implementation

const Box({
  super.key,
  required this.child,
  this.margin,
  this.padding,
  this.borderColor,
  this.borderWidth,
  this.backgroundColor,
});