SpoilerTextWidget constructor
const
SpoilerTextWidget({
- Key? key,
- Color particleColor = Colors.white70,
- double maxParticleSize = 1,
- double particleDensity = 20,
- double speedOfParticles = 0.2,
- double fadeRadius = 10,
- bool enable = false,
- bool fadeAnimation = false,
- bool enableGesture = false,
- TextSelection? selection,
- required String text,
- 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,
});