SparklesText constructor

const SparklesText({
  1. Key? key,
  2. required Widget child,
  3. int sparklesCount = 10,
  4. Color firstColor = const Color(0xFF9E7AFF),
  5. Color secondColor = const Color(0xFFFE8BBB),
  6. double sparkleScale = 1.0,
})

Implementation

const SparklesText({
  Key? key,
  required this.child,
  this.sparklesCount = 10,
  this.firstColor = const Color(0xFF9E7AFF),
  this.secondColor = const Color(0xFFFE8BBB),
  this.sparkleScale = 1.0,
}) : super(key: key);