RefreshController constructor
RefreshController({
- bool initialRefresh = false,
- RefreshStatus? initialRefreshStatus,
- LoadStatus? initialLoadStatus,
Implementation
RefreshController(
{this.initialRefresh = false,
RefreshStatus? initialRefreshStatus,
LoadStatus? initialLoadStatus}) {
headerMode =
RefreshNotifier(initialRefreshStatus ?? RefreshStatus.idle);
footerMode = RefreshNotifier(initialLoadStatus ?? LoadStatus.idle);
}