Glass constructor

Glass({
  1. Key? key,
  2. Widget? child,
  3. double radius = 20,
  4. double sigmaBlur = 30,
  5. EdgeInsetsGeometry padding = const EdgeInsets.all(8.5),
  6. Color? backgroundColor,
  7. Color? borderColorStart,
  8. Color? borderColorEnd,
  9. double strokeWidth = 1,
})

Implementation

Glass({
  Key? key,
  this.child,
  this.radius = 20,
  this.sigmaBlur = 30,
  this.padding = const EdgeInsets.all(8.5),
  this.backgroundColor,
  this.borderColorStart,
  this.borderColorEnd,
  this.strokeWidth = 1,
}) : super(key: key);