LinePainter constructor

LinePainter({
  1. TextStyle? textStyle = const TextStyle(color: Colors.black, fontSize: 16),
  2. LineDecoration? lineDecoration,
  3. required Offset shakeAnimationValue,
  4. required double scaleAnimationValue,
  5. required List<List<String>> letters,
  6. required List<WordLine> lineList,
  7. required Offset spacing,
  8. required List<String> hints,
  9. Offset? revealLetterPositions,
  10. Color? correctColor = Colors.green,
})

Implementation

LinePainter({
  this.textStyle = const TextStyle(color: Colors.black, fontSize: 16),
  this.lineDecoration,
  required this.shakeAnimationValue,
  required this.scaleAnimationValue,
  required this.letters,
  required this.lineList,
  required this.spacing,
  required this.hints,
  this.revealLetterPositions,
  this.correctColor = Colors.green,
});