TDSkeletonRowColObjStyle class
骨架屏元素样式
Constructors
- TDSkeletonRowColObjStyle({Color background(BuildContext) = _defaultBackground, double borderRadius(BuildContext) = _textBorderRadius})
-
const
- TDSkeletonRowColObjStyle.circle({Color background(BuildContext) = _defaultBackground})
-
圆形
const
- TDSkeletonRowColObjStyle.rect({Color background(BuildContext) = _defaultBackground})
-
矩形
const
- TDSkeletonRowColObjStyle.spacer()
-
空白占位符
const
- TDSkeletonRowColObjStyle.text({Color background(BuildContext) = _defaultBackground})
-
文本
const
Properties
- background → Color Function(BuildContext)
-
背景颜色
final
- borderRadius → double Function(BuildContext)
-
圆角
final
- 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