TextSpoilerConfiguration constructor

const TextSpoilerConfiguration({
  1. TextStyle? style,
  2. TextSelection? selection,
  3. double particleDensity = 20,
  4. double speedOfParticles = 0.2,
  5. Color particleColor = Colors.white70,
  6. double maxParticleSize = 1,
  7. bool fadeAnimation = false,
  8. double fadeRadius = 10,
  9. bool isEnabled = true,
  10. bool enableGesture = false,
})

Implementation

const TextSpoilerConfiguration({
  this.style,
  this.selection,
  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,
});