WxBox constructor

const WxBox({
  1. Key? key,
  2. double? width,
  3. double? height,
  4. BoxConstraints? constraints,
  5. AlignmentGeometry? alignment,
  6. EdgeInsetsGeometry? padding,
  7. EdgeInsetsGeometry? margin,
  8. DecorationImage? image,
  9. List<BoxShadow>? shadows,
  10. Gradient? gradient,
  11. Color? color,
  12. ShapeBorder? border,
  13. Color? borderColor,
  14. double? borderWidth,
  15. BorderStyle? borderStyle,
  16. double? borderOffset,
  17. BorderSide? borderSide,
  18. BorderRadius? borderRadius,
  19. Clip? clipBehavior,
  20. Color? elevationColor,
  21. double? elevation,
  22. Widget? child,
})

Create a box widget

Implementation

const WxBox({
  super.key,
  this.width,
  this.height,
  this.constraints,
  this.alignment,
  this.padding,
  this.margin,
  this.image,
  this.shadows,
  this.gradient,
  this.color,
  this.border,
  this.borderColor,
  this.borderWidth,
  this.borderStyle,
  this.borderOffset,
  this.borderSide,
  this.borderRadius,
  this.clipBehavior,
  this.elevationColor,
  this.elevation,
  this.child,
});