GridSectionInfo class
- Inheritance
-
- Object
- SectionInfo
- GridSectionInfo
Constructors
- GridSectionInfo({required int section, required int numberItems, required int sectionBegin, bool isExistHeader = false, bool isHeaderStick = false, double mainAxisSpacing = 0, double crossAxisSpacing = 0, EdgeInsets sectionInsets = EdgeInsets.zero, double headerItemSpacing = 0, })
Properties
- crossAxisSpacing ↔ double
-
与滑动方向交叉 的item间隔
getter/setter pair
-
footer和item的间距
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- headerGeometry ↔ dynamic
-
头部布局信息
getter/setter pairinherited
- headerItemSpacing ↔ double
-
header和item的间距
getter/setter pair
- isEmpty → bool
-
这个section是否是空的
no setterinherited
-
finalinherited
- isExistHeader → bool
-
是否存在 footer 和 header
finalinherited
- isHeaderStick → bool
-
头部是否吸顶悬浮
finalinherited
- mainAxisSpacing ↔ double
-
滑动方向的 item间隔
getter/setter pair
- mainEnd ↔ double
-
section 主轴最末端
getter/setter pairinherited
- numberItems → int
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- section → int
-
section下标 section中行数 该section的起点 终点
finalinherited
- sectionBegin → int
-
finalinherited
- sectionEnd → int
-
no setterinherited
- sectionInsets ↔ EdgeInsets
-
section边距
getter/setter pair
Methods
-
获取底部位置
inherited
-
getHeaderPosition(
) → int -
获取头部位置
inherited
-
getItemPosition(
int position) → int -
获取item在section的位置
inherited
-
getItemStartPosition(
) → int -
获取item的起始位置
inherited
-
include(
int index) → bool -
是否包含某个下标
inherited
-
判断position是否是底部
inherited
-
isHeader(
int position) → bool -
判断position是否是头部
inherited
-
isItem(
int position) → bool -
是否是item
inherited
-
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