StrokeText constructor

const StrokeText(
  1. String text, {
  2. Key? key,
  3. required double fontSize,
  4. Color color = Colors.white,
  5. Color? stroke,
  6. double strokeWidth = 3.5,
  7. FontWeight weight = FontWeight.w900,
  8. double letterSpacing = 0.5,
  9. List<Shadow>? shadows,
})

Implementation

const StrokeText(
  this.text, {
  super.key,
  required this.fontSize,
  this.color = Colors.white,
  this.stroke,
  this.strokeWidth = 3.5,
  this.weight = FontWeight.w900,
  this.letterSpacing = 0.5,
  this.shadows,
});