Pullable.custom constructor

Pullable.custom({
  1. Key? key,
  2. required Widget child,
  3. required Widget customHeader,
  4. Future<void> onRefresh()?,
  5. ScrollPhysics? physics,
  6. RefreshController? controller,
  7. Widget? customFooter,
  8. bool enablePullUp = false,
})

Custom header constructor

Implementation

Pullable.custom({
  super.key,
  required this.child,
  required Widget customHeader,
  this.onRefresh,
  this.physics,
  this.controller,
  Widget? customFooter,
  bool enablePullUp = false,
})  : config = PullableConfig(
        customHeader: customHeader,
        customFooter: customFooter,
        enablePullUp: enablePullUp,
      ),
      headerStyle = null;