MEasyRefresh constructor

const MEasyRefresh({
  1. Color? mainColor,
  2. required MPageState mPageState,
  3. required Future<IndicatorResult> onGetData(),
  4. required Widget child,
  5. ScrollController? scrollController,
  6. bool justReturnChild = false,
  7. Header? header,
  8. ClassicFooter? footer,
  9. EasyRefreshController? easyRefreshController,
  10. bool? showLoadingWidget,
  11. Key? key,
})

Implementation

const MEasyRefresh({
  this.mainColor,
  required this.mPageState,
  required this.onGetData,
  required this.child,
  this.scrollController,
  this.justReturnChild = false,
  this.header,
  this.footer,
  this.easyRefreshController,
  this.showLoadingWidget,
  super.key,
});