ImageSpoilerPainter constructor
const
ImageSpoilerPainter({
- required bool isEnabled,
- required Rect currentRect,
- required double fadeRadius,
- required ValueSetter<
Rect> onBoundariesCalculated, - required Offset tapOffset,
- required List<
Particle> particles, - 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,
});