FUIRefresh constructor
const
FUIRefresh({
- Key? key,
- required Widget childBuilder(
- BuildContext context,
- ScrollPhysics physics
- FUIRefreshController? controller,
- FutureOr<
Object?> onRefresh()?, - FutureOr<
Object?> onLoad()?, - bool refreshOnStart = true,
- bool refreshEnabled = true,
- bool loadEnabled = true,
- double loadTriggerOffset = FUITokens.gap24,
- FUIRefreshText? text,
- bool showHeaderText = true,
Implementation
const FUIRefresh({
super.key,
required this.childBuilder,
this.controller,
this.onRefresh,
this.onLoad,
this.refreshOnStart = true,
this.refreshEnabled = true,
this.loadEnabled = true,
this.loadTriggerOffset = FUITokens.gap24,
this.text,
this.showHeaderText = true,
this.showFooterText = false,
});