SectionGridAdapter class abstract

section 网格适配器

Inheritance
Implementers

Constructors

SectionGridAdapter()

Properties

crossAxisExtent double
列表交叉轴大小
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
mainAxisExtent double
列表主轴大小
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

buildItem(BuildContext context, int position) Widget
构建item 组件,内部使用,通常情况下子类不需要重写这个
inherited
createExtraSection(int section, int numberOfItems, int position) SectionInfo
inherited
createSection(int section, int numberOfItems, int position) SectionInfo
创建sectionInfo
inherited
getItemCount() int
item总数,内部使用,通常情况下子类不需要重写这个
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notifyDataChange() bool
数据变了
inherited
onSectionHeaderStick(int section) → void
header 吸顶了
inherited
sectionInfoForPosition(int position) GridSectionInfo?
通过position获取对应的sectionInfo
override
sectionInfoForSection(int section) GridSectionInfo?
获取对应section
override
toString() String
A string representation of this object.
inherited

Operators

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