XBoxParams constructor

const XBoxParams({
  1. Key? key,
  2. required SSRWidget? child,
  3. required double? width,
  4. required double? height,
  5. required EdgeInsets? padding,
  6. required EdgeInsets? margin,
  7. HubbleColor? color,
  8. required XAssetParams? backgroundImage,
  9. required BorderRadius? radius,
  10. required HubbleBorder? border,
  11. required List<HubbleBoxShadow> shadow,
  12. required HubbleGradient? gradient,
  13. required Clip clip,
  14. 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,
});