LyricUI class abstract
lyric UI base all lyric UI should be extends this file
- Implementers
Constructors
- LyricUI()
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
-
enableHighlight(
) → bool -
enableLineAnimation(
) → bool - 启用行动画
-
getBiasBaseLine(
) → LyricBaseLine -
getBlankLineHeight(
) → double - 空白行默认高度
-
getHighlightDirection(
) → HighlightDirection -
getInlineSpace(
) → double - 行内间距
-
getLineSpace(
) → double - 行高
-
getLyricHightlightColor(
) → Color -
getLyricHorizontalAlign(
) → LyricAlign - 歌词对齐方向 支持左中右对齐
-
getLyricTextAligin(
) → TextAlign - 单行铺满后的居中方式
-
getOtherExtTextStyle(
) → TextStyle - 扩展歌词样式(其他行)
-
getOtherMainTextStyle(
) → TextStyle - 主歌词样式(其他行)
-
getPlayingExtTextStyle(
) → TextStyle - 扩展歌词样式(播放行)
-
getPlayingLineBias(
) → double - 播放行偏移 由上而下偏移,范围:0~1; eg:0.4
-
getPlayingMainTextStyle(
) → TextStyle - 主歌词样式(播放行)
-
halfSizeLimit(
) → bool - ending在比一半尺寸还小的位置时太丑 true 最少也会偏移到bias0.5的位置,不会比0.5再小了 false 无限制 将会偏移到bias0.5
-
initAnimation(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited