HeaderNotifier constructor
HeaderNotifier({
- required Header header,
- required ValueNotifier<
bool> userOffsetNotifier, - required TickerProviderStateMixin<
StatefulWidget> vsync, - required CanProcessCallBack onCanRefresh,
- bool canProcessAfterNoMore = false,
- bool canProcessAfterFail = true,
- Axis? triggerAxis,
- FutureOr onRefresh()?,
- bool waitRefreshResult = true,
Implementation
HeaderNotifier({
required Header header,
required super.userOffsetNotifier,
required super.vsync,
required CanProcessCallBack onCanRefresh,
super.canProcessAfterNoMore = false,
bool canProcessAfterFail = true,
super.triggerAxis,
FutureOr Function()? onRefresh,
bool waitRefreshResult = true,
}) : super(
indicator: header,
onCanProcess: onCanRefresh,
task: onRefresh,
waitTaskResult: waitRefreshResult,
);