CustomHeader constructor
const
CustomHeader({
- Key? key,
- required HeaderBuilder builder,
- VoidFutureCallBack? readyToRefresh,
- VoidFutureCallBack? 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({
Key? key,
required this.builder,
this.readyToRefresh,
this.endRefresh,
this.onOffsetChange,
this.onModeChange,
this.onResetValue,
double height = 60.0,
Duration completeDuration = const Duration(milliseconds: 600),
RefreshStyle refreshStyle = RefreshStyle.Follow,
}) : super(
key: key,
completeDuration: completeDuration,
refreshStyle: refreshStyle,
height: height);