LinePainter constructor
LinePainter({
- TextStyle? textStyle = const TextStyle(color: Colors.black, fontSize: 16),
- LineDecoration? lineDecoration,
- required Offset shakeAnimationValue,
- required double scaleAnimationValue,
- required List<
List< letters,String> > - required List<
WordLine> lineList, - required Offset spacing,
- required List<
String> hints, - Offset? revealLetterPositions,
- 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,
});