Pullable constructor

const Pullable({
  1. Key? key,
  2. required Widget child,
  3. PullableConfig config = const PullableConfig(),
  4. RefreshController? controller,
  5. Future<void> onRefresh()?,
  6. Future<void> onLoading()?,
})

Default constructor with full configuration options

Implementation

const Pullable({
  super.key,
  required this.child,
  this.config = const PullableConfig(),
  this.controller,
  this.onRefresh,
  this.onLoading,
});