TDSkeletonRowColObj class

骨架屏元素

Constructors

TDSkeletonRowColObj({double? width, double? height = 16, int? flex = 1, EdgeInsets margin = EdgeInsets.zero, TDSkeletonRowColObjStyle style = const TDSkeletonRowColObjStyle()})
const
TDSkeletonRowColObj.circle({double? width = 48, double? height = 48, int? flex, EdgeInsets margin = EdgeInsets.zero, TDSkeletonRowColObjStyle style = const TDSkeletonRowColObjStyle.circle()})
圆形
const
TDSkeletonRowColObj.rect({double? width, double? height = 16, int? flex = 1, EdgeInsets margin = EdgeInsets.zero, TDSkeletonRowColObjStyle style = const TDSkeletonRowColObjStyle.rect()})
矩形
const
TDSkeletonRowColObj.spacer({double? width, double? height, int? flex, EdgeInsets margin = EdgeInsets.zero})
空白占位符
const
TDSkeletonRowColObj.text({double? width, double? height = 16, int? flex = 1, EdgeInsets margin = EdgeInsets.zero, TDSkeletonRowColObjStyle style = const TDSkeletonRowColObjStyle.text()})
文本
const

Properties

flex int?
弹性因子
final
hashCode int
The hash code for this object.
no setterinherited
height double?
高度
final
margin EdgeInsets
间距
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style TDSkeletonRowColObjStyle
样式
final
visualHeight double
视觉高度
no setter
width double?
宽度
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