SectionAdapter class abstract
列表分区适配器
- Implementers
Constructors
Properties
- crossAxisExtent ↔ double
-
列表交叉轴大小
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- mainAxisExtent ↔ double
-
列表主轴大小
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
buildItem(
BuildContext context, int position) → Widget - 构建item 组件,内部使用,通常情况下子类不需要重写这个
-
createExtraSection(
int section, int numberOfItems, int position) → SectionInfo -
createSection(
int section, int numberOfItems, int position) → SectionInfo - 创建sectionInfo
-
getItemCount(
) → int - item总数,内部使用,通常情况下子类不需要重写这个
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
notifyDataChange(
) → bool - 数据变了
-
onSectionHeaderStick(
int section) → void - header 吸顶了
-
sectionInfoForPosition(
int position) → SectionInfo? - 通过position获取对应的sectionInfo
-
sectionInfoForSection(
int section) → SectionInfo? - 获取对应section
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited