AntdListStyle class

列表组件样式配置 @l AntdList

Inheritance
Available extensions

Constructors

AntdListStyle.new({bool inherit = true, AntdBoxStyle? bodyStyle, AntdBoxStyle? headerStyle, AntdBoxStyle? footerStyle, AntdBoxStyle? itemStyle, AntdBoxStyle? childStyle})
const
AntdListStyle.defaultStyle(AntdMapToken token, bool card)
获取默认列表样式 token设计令牌 card是否卡片模式
factory

Properties

bodyStyle AntdBoxStyle?
列表容器样式(背景色/边框/圆角等)
final
childStyle AntdBoxStyle?
子类的样式,当没有使用itemBuilder的默认样式
final
footerStyle AntdBoxStyle?
列表底部样式(文本/对齐/间距等)
final
hashCode int
The hash code for this object.
no setterinherited
headerStyle AntdBoxStyle?
列表头部样式(文本/对齐/间距等)
final
inherit bool
是否继承样式,如果为false则不会向上合并其他的样式
finalinherited
itemStyle AntdBoxStyle?
列表项样式(背景/边框/点击效果等)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

copyFrom(covariant AntdListStyle? style) AntdListStyle
override
merge(T? other) → T?

Available on T?, provided by the StyleExtensions extension

mergeActive(T? defaultStyle, T? tdStyle, T? tdaStyle) → T?

Available on T?, provided by the StyleExtensions extension

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