SectionInfo class

Implementers

Constructors

SectionInfo({required int section, required int numberItems, required int sectionBegin, bool isExistHeader = false, bool isExistFooter = false, bool isHeaderStick = false})

Properties

hashCode int
The hash code for this object.
no setterinherited
headerGeometry ↔ dynamic
头部布局信息
getter/setter pair
isEmpty bool
这个section是否是空的
no setter
isExistFooter bool
final
isExistHeader bool
是否存在 footer 和 header
final
isHeaderStick bool
头部是否吸顶悬浮
final
mainEnd double
section 主轴最末端
getter/setter pair
numberItems int
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
section int
section下标 section中行数 该section的起点 终点
final
sectionBegin int
final
sectionEnd int
no setter

Methods

getFooterPosition() int
获取底部位置
getHeaderPosition() int
获取头部位置
getItemPosition(int position) int
获取item在section的位置
getItemStartPosition() int
获取item的起始位置
include(int index) bool
是否包含某个下标
isFooter(int position) bool
判断position是否是底部
isHeader(int position) bool
判断position是否是头部
isItem(int position) bool
是否是item
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