CustomHeader constructor
const
CustomHeader({
- Key? key,
- required HeaderBuilder builder,
- AsyncVoidCallback? readyToRefresh,
- AsyncVoidCallback? endRefresh,
- OffsetCallback? onOffsetChange,
- ModeChangeCallback<
RefreshStatus> ? onModeChange, - VoidCallback? onResetValue,
- double height = 60.0,
- Duration completeDuration = const Duration(milliseconds: 600),
- RefreshStyle refreshStyle = RefreshStyle.follow,
构造函数
Implementation
const CustomHeader({
super.key,
required this.builder,
this.readyToRefresh,
this.endRefresh,
this.onOffsetChange,
this.onModeChange,
this.onResetValue,
super.height,
super.completeDuration = const Duration(milliseconds: 600),
super.refreshStyle,
});