ImageSpoilerPainter constructor

const ImageSpoilerPainter({
  1. required bool isEnabled,
  2. required Rect currentRect,
  3. required double fadeRadius,
  4. required ValueSetter<Rect> onBoundariesCalculated,
  5. required Offset tapOffset,
  6. required List<Particle> particles,
  7. Listenable? repaint,
})

Implementation

const ImageSpoilerPainter({
  required this.isEnabled,
  required this.currentRect,
  required this.fadeRadius,
  required this.onBoundariesCalculated,
  required this.tapOffset,
  required this.particles,
  super.repaint,
});