GlassmorphicBorder constructor

GlassmorphicBorder({
  1. required double strokeWidth,
  2. required double radius,
  3. required Gradient gradient,
  4. dynamic height,
  5. dynamic width,
})

Implementation

GlassmorphicBorder({
  required double strokeWidth,
  required double radius,
  required Gradient gradient,
  this.height,
  this.width,
})  : this._painter = _GradientPainter(
          strokeWidth: strokeWidth, radius: radius, gradient: gradient),
      this._radius = radius;