RefreshIndicatorConfig class
刷新组件配置
Constructors
- RefreshIndicatorConfig({double visibleRange = 50, int completeDuration = 300, double triggerDistance = 100, double? indicatorHeight})
-
const
Properties
- completeDuration → int
-
完成刷新后,停留在completed状态的停留时长
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- indicatorHeight → double?
-
indicator高度,对于不定高度定indicator,可以不传
如果已经可以在build之前确定indicator高度,那么就不需要tableView内部自己再去计算高度,可以省略一次setState重新构建的步骤
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- triggerDistance → double
-
触发刷新距离
final
- visibleRange → double
-
可见范围
final
Methods
-
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