GlassXContainer constructor

const GlassXContainer({
  1. Key? key,
  2. double? blur,
  3. double? opacity,
  4. double? borderRadius,
  5. Color? tintColor,
  6. Color? borderColor,
  7. double? borderWidth,
  8. Widget? child,
  9. double? width,
  10. double? height,
  11. EdgeInsetsGeometry padding = const EdgeInsets.all(16.0),
  12. EdgeInsetsGeometry? margin,
  13. AlignmentGeometry alignment = Alignment.center,
})

Implementation

const GlassXContainer({
  super.key,
  this.blur,
  this.opacity,
  this.borderRadius,
  this.tintColor,
  this.borderColor,
  this.borderWidth,
  this.child,
  this.width,
  this.height,
  this.padding = const EdgeInsets.all(16.0),
  this.margin,
  this.alignment = Alignment.center,
});