SpoilerTextWidget constructor

const SpoilerTextWidget({
  1. Key? key,
  2. Color particleColor = Colors.white70,
  3. double maxParticleSize = 1,
  4. double particleDensity = 20,
  5. double speedOfParticles = 0.2,
  6. double fadeRadius = 10,
  7. bool enable = false,
  8. bool fadeAnimation = false,
  9. bool enableGesture = false,
  10. TextSelection? selection,
  11. required String text,
  12. TextStyle? style,
})

Implementation

const SpoilerTextWidget({
  super.key,
  this.particleColor = Colors.white70,
  this.maxParticleSize = 1,
  this.particleDensity = 20,
  this.speedOfParticles = 0.2,
  this.fadeRadius = 10,
  this.enable = false,
  this.fadeAnimation = false,
  this.enableGesture = false,
  this.selection,
  required this.text,
  this.style,
});