ListViewBaseSectionItem class

Mixed-in types

Constructors

ListViewBaseSectionItem()

Properties

footerBuilder ListViewHeaderFooterType<ListViewSectionItemType<ListViewItemType>> Function()?
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
hasRadiu bool
no setterinherited
headerBuilder ListViewHeaderFooterType<ListViewSectionItemType<ListViewItemType>> Function()?
headerBuilder和footerBuilder最终以cell的方式实现
getter/setter pairinherited
isFooterTapEnable bool
finalinherited
isHeaderTapEnable bool
是否能点击header、footer
finalinherited
items List<ListViewItemType>
no setterinherited
reloadList ↔ dynamic Function()?
让section可以更新整个的list 只要该section被刷新到ListView那么reloadList函数就一定存在
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sectionRadiu double?
设置section的圆角 一旦设置,则会对items构建的cell做圆角处理 背景会设置成白色 一旦设置了圆角,切不要设置 separatedBuilder或者 separated
getter/setter pairinherited
separated double?
直接设置separated高度,内部采用SizeBox实现
getter/setter pairinherited
separatedBuilder Widget Function()?
如果这个方法不为null,则优先使用separatedBuilder,而废弃separated属性 不建议使用该方法
getter/setter pairinherited
weakPageViewModel WeakReference<Object>?
item会对页面的控制器进行弱引用(如果有传则会)
getter/setter pairinherited

Methods

add(ListViewItemType vm) → dynamic
添加一个cellVM
inherited
addItems(Iterable<ListViewItemType> vms) → dynamic
添加cellVM数组
inherited
clear() → dynamic
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
remove(ListViewItemType vm) → dynamic
删除某一个cellVM
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited