LinePainter constructor
LinePainter({
- List<
WordLine> ? initialLineList, - TextStyle? textStyle = const TextStyle(color: Colors.black, fontSize: 16),
- LineDecoration? lineDecoration,
- required Offset shakeAnimationValue,
- required double scaleAnimationValue,
- required double popAnimationValue,
- required List<
List< letters,String> > - required List<
WordLine> lineList, - required Offset spacing,
- required List<
String> hints, - Offset? revealLetterPositions,
- bool onTouchRotateLetter = true,
- Color? correctColor = Colors.green,
- Offset? currentOffset,
- LetterPopDecoration letterPopDecoration = const LetterPopDecoration(),
Implementation
LinePainter(
{this.initialLineList,
this.textStyle = const TextStyle(color: Colors.black, fontSize: 16),
this.lineDecoration,
required this.shakeAnimationValue,
required this.scaleAnimationValue,
required this.popAnimationValue,
required this.letters,
required this.lineList,
required this.spacing,
required this.hints,
this.revealLetterPositions,
this.onTouchRotateLetter = true,
this.correctColor = Colors.green,
this.currentOffset,
this.letterPopDecoration = const LetterPopDecoration()});