LyricsRenderer constructor
const
LyricsRenderer({
- Key? key,
- required String lyrics,
- required TextStyle textStyle,
- required TextStyle chordStyle,
- required Function onTapChord,
- bool showChord = true,
- int widgetPadding = 0,
- int transposeIncrement = 0,
- int scrollSpeed = 0,
- double lineHeight = 8.0,
- CrossAxisAlignment horizontalAlignment = CrossAxisAlignment.center,
- Widget? leadingWidget,
- Widget? trailingWidget,
Implementation
const LyricsRenderer({
Key? key,
required this.lyrics,
required this.textStyle,
required this.chordStyle,
required this.onTapChord,
this.showChord = true,
this.widgetPadding = 0,
this.transposeIncrement = 0,
this.scrollSpeed = 0,
this.lineHeight = 8.0,
this.horizontalAlignment = CrossAxisAlignment.center,
this.leadingWidget,
this.trailingWidget,
}) : super(key: key);