MotionGlassContainer constructor

const MotionGlassContainer({
  1. Key? key,
  2. required Widget child,
  3. double blur = 12.0,
  4. double opacity = 0.1,
  5. double borderRadius = 20.0,
  6. BoxBorder? border,
  7. Color? color,
  8. List<Color>? borderColors,
  9. double borderWidth = 1.5,
  10. EdgeInsetsGeometry? padding,
  11. double? width,
  12. double? height,
})

Implementation

const MotionGlassContainer({
  super.key,
  required this.child,
  this.blur = 12.0,
  this.opacity = 0.1,
  this.borderRadius = 20.0,
  this.border,
  this.color,
  this.borderColors,
  this.borderWidth = 1.5,
  this.padding,
  this.width,
  this.height,
});