SantoSkeletonObjStyle class

占位块样式

Constructors

SantoSkeletonObjStyle({SantoSkeletonObjType type = SantoSkeletonObjType.text, Color? backgroundColor, double? radius})
const
SantoSkeletonObjStyle.circle({Color? backgroundColor})
圆形占位
const
SantoSkeletonObjStyle.rect({Color? backgroundColor, double? radius})
矩形占位
const
SantoSkeletonObjStyle.spacer()
空白占位
const
SantoSkeletonObjStyle.text({Color? backgroundColor, double? radius})
文本条占位
const

Properties

backgroundColor → Color?
背景色,默认使用主题 fillBody
final
hashCode → int
The hash code for this object.
no setterinherited
radius → double?
圆角;null 时按形状取默认值(text 4 / circle 全圆 / rect 12)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → SantoSkeletonObjType
形状
final

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