XBoxParams constructor
const
XBoxParams({
- Key? key,
- required SSRWidget? child,
- required double? width,
- required double? height,
- required EdgeInsets? padding,
- required EdgeInsets? margin,
- HubbleColor? color,
- required XAssetParams? backgroundImage,
- required BorderRadius? radius,
- required HubbleBorder? border,
- required List<
HubbleBoxShadow> shadow, - required HubbleGradient? gradient,
- required Clip clip,
- required AlignmentGeometry? alignment,
Implementation
const XBoxParams({
super.key,
required this.child,
required this.width,
required this.height,
required this.padding,
required this.margin,
this.color,
required this.backgroundImage,
required this.radius,
required this.border,
required this.shadow,
required this.gradient,
required this.clip,
required this.alignment,
});