LyricHelper class

Constructors

LyricHelper()

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

centerOffset(LyricsLineModel? lyric, bool isCurr, LyricUI lyricUI, int playIndex) double
getLineSpaceHeight(LyricsLineModel element, LyricUI ui, {bool excludeInline = false}) double
获取行间距
getLyricHeight(List<LyricsLineModel>? lyrics, int playingIndex) double
获取歌词整体高度
getSpaceHeight(List<LyricsLineModel>? lyrics, LyricUI ui) double
获取间距高度
getTotalHeight(List<LyricsLineModel>? lyrics, int playingIndex, LyricUI ui) double