GradientGlass constructor

const GradientGlass({
  1. required Component child,
  2. double blur = 12.0,
  3. String? gradientStart,
  4. String? gradientEnd,
  5. double opacity = 0.2,
  6. EdgeInsets? padding,
  7. double? radius,
  8. String direction = 'to bottom right',
  9. Key? key,
})

Implementation

const GradientGlass({
  required this.child,
  this.blur = 12.0,
  this.gradientStart,
  this.gradientEnd,
  this.opacity = 0.2,
  this.padding,
  this.radius,
  this.direction = 'to bottom right',
  super.key,
});