HolePainter constructor

HolePainter({
  1. required Rect rect,
  2. double radius = 12,
  3. Color overlayColor = Colors.black,
  4. double overlayColorOpacity = 0.75,
  5. Color borderColor = Colors.white,
  6. double borderColorOpacity = 0.75,
  7. double borderWidth = 1,
})

Implementation

HolePainter({
  required this.rect,
  this.radius = 12,
  this.overlayColor = Colors.black,
  this.overlayColorOpacity = 0.75,
  this.borderColor = Colors.white,
  this.borderColorOpacity = 0.75,
  this.borderWidth = 1,
});