WidgetSpoilerConfiguration constructor

const WidgetSpoilerConfiguration({
  1. required ImageFilter imageFilter,
  2. double particleDensity = 20,
  3. double speedOfParticles = 0.2,
  4. Color particleColor = Colors.white70,
  5. double maxParticleSize = 1,
  6. bool fadeAnimation = false,
  7. double fadeRadius = 10,
  8. bool isEnabled = true,
  9. bool enableGesture = false,
})

Implementation

const WidgetSpoilerConfiguration({
  required this.imageFilter,
  super.particleDensity = 20,
  super.speedOfParticles = 0.2,
  super.particleColor = Colors.white70,
  super.maxParticleSize = 1,
  super.fadeAnimation = false,
  super.fadeRadius = 10,
  super.isEnabled = true,
  super.enableGesture = false,
});