EasyPaging<DataType, ItemType> constructor
const
EasyPaging<DataType, ItemType> ({
- Key? key,
- bool useDefaultPhysics = false,
- EasyRefreshController? controller,
- SpringDescription? spring,
- FrictionFactor? frictionFactor,
- NotRefreshHeader? notRefreshHeader,
- bool simultaneously = false,
- bool canRefreshAfterNoMore = false,
- bool canLoadAfterNoMore = false,
- bool resetAfterRefresh = true,
- bool refreshOnStart = false,
- double callRefreshOverOffset = 20,
- double callLoadOverOffset = 20,
- StackFit fit = StackFit.loose,
- Clip clipBehavior = Clip.hardEdge,
- EasyPagingItemBuilder<
ItemType> ? itemBuilder, - WidgetBuilder? refreshOnStartWidgetBuilder,
- WidgetBuilder? emptyWidgetBuilder,
Implementation
const EasyPaging({
super.key,
this.useDefaultPhysics = false,
this.controller,
this.spring,
this.frictionFactor,
this.notRefreshHeader,
this.notLoadFooter,
this.simultaneously = false,
this.canRefreshAfterNoMore = false,
this.canLoadAfterNoMore = false,
this.resetAfterRefresh = true,
this.refreshOnStart = false,
this.callRefreshOverOffset = 20,
this.callLoadOverOffset = 20,
this.fit = StackFit.loose,
this.clipBehavior = Clip.hardEdge,
this.itemBuilder,
this.refreshOnStartWidgetBuilder,
this.emptyWidgetBuilder,
});