LyricController class

Constructors

LyricController()

Properties

activeIndexNotifiter ValueNotifier<int>
final
anchorAlignOffsetY double
getter/setter pair
anchorPositionNotifier ValueNotifier<double>
final
hashCode int
The hash code for this object.
no setterinherited
isSelectingNotifier ValueNotifier<bool>
final
lyricNotifier ValueNotifier<LyricModel?>
final
lyricOffset int
getter/setter pair
progressNotifier ValueNotifier<Duration>
latefinal
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedIndexNotifier ValueNotifier<int>
getter/setter pair
selectedLineHeightNotifier ValueNotifier<double>
final
selectedMaxWidth double
getter/setter pair

Methods

cancelOnTapLineCallback() → void
dispose() → void
getIndexByProgress(Duration progress) int
loadLyric(String lyric, {String? translationLyric}) → void
loadLyricModel(LyricModel lyricModel) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyEvent(LyricEvent event, [dynamic data]) → void
registerEvent(LyricEvent event, dynamic callback(dynamic)) VoidCallback
setOnTapLineCallback(dynamic callback(Duration)) → void
setProgress(Duration progress) → dynamic
stopSelection() → void
toString() String
A string representation of this object.
inherited
unregisterEvent(LyricEvent event, dynamic callback(dynamic)) → void

Operators

operator ==(Object other) bool
The equality operator.
inherited