UINetease class

Sample Netease style should be extends LyricUI implementation your own UI. this property only for change UI,if not demand just only overwrite methods.

Inheritance

Constructors

UINetease({double defaultSize = 18, double defaultExtSize = 14, double otherMainSize = 16, double bias = 0.5, double lineGap = 25, double inlineGap = 25, LyricAlign lyricAlign = LyricAlign.CENTER, LyricBaseLine lyricBaseLine = LyricBaseLine.CENTER, bool highlight = true, HighlightDirection highlightDirection = HighlightDirection.LTR})
UINetease.clone(UINetease uiNetease)

Properties

bias double
getter/setter pair
defaultExtSize double
getter/setter pair
defaultSize double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
highlight bool
getter/setter pair
highlightDirection HighlightDirection
getter/setter pair
inlineGap double
getter/setter pair
lineGap double
getter/setter pair
lyricAlign LyricAlign
getter/setter pair
lyricBaseLine LyricBaseLine
getter/setter pair
otherMainSize double
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

enableHighlight() bool
override
enableLineAnimation() bool
启用行动画
inherited
getBiasBaseLine() LyricBaseLine
override
getBlankLineHeight() double
空白行默认高度
inherited
getHighlightDirection() HighlightDirection
override
getInlineSpace() double
行内间距
override
getLineSpace() double
行高
override
getLyricHightlightColor() Color
inherited
getLyricHorizontalAlign() LyricAlign
歌词对齐方向 支持左中右对齐
override
getLyricTextAligin() TextAlign
单行铺满后的居中方式
inherited
getOtherExtTextStyle() TextStyle
扩展歌词样式(其他行)
override
getOtherMainTextStyle() TextStyle
主歌词样式(其他行)
override
getPlayingExtTextStyle() TextStyle
扩展歌词样式(播放行)
override
getPlayingLineBias() double
播放行偏移 由上而下偏移,范围:0~1; eg:0.4
override
getPlayingMainTextStyle() TextStyle
主歌词样式(播放行)
override
halfSizeLimit() bool
ending在比一半尺寸还小的位置时太丑 true 最少也会偏移到bias0.5的位置,不会比0.5再小了 false 无限制 将会偏移到bias0.5
inherited
initAnimation() bool
inherited
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