CyberBox constructor
const
CyberBox({
- Key? key,
- dynamic width,
- dynamic height,
- Color? backgroundColor,
- EdgeInsets? padding,
- BoxBorder? border,
- BorderRadius? borderRadius,
- double? radius,
- double? topLeftRadius,
- double? topRightRadius,
- double? bottomLeftRadius,
- double? bottomRightRadius,
- List<
Widget> children = const [], - CyberAlign vAlign = CyberAlign.start,
- CyberAlign hAlign = CyberAlign.start,
- VoidCallback? onClick,
- double spacing = 0,
- bool showRipple = true,
- EdgeInsets? margin,
- List<
BoxShadow> ? shadows,
Implementation
const CyberBox({
super.key,
this.width,
this.height,
this.backgroundColor,
this.padding,
this.border,
this.borderRadius,
this.radius,
this.topLeftRadius,
this.topRightRadius,
this.bottomLeftRadius,
this.bottomRightRadius,
this.children = const [],
this.vAlign = CyberAlign.start,
this.hAlign = CyberAlign.start,
this.onClick,
this.spacing = 0,
this.showRipple = true,
this.margin,
this.shadows,
});