Pullable.waterDropMaterialHeader constructor

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

WaterDropMaterial Header constructor

Implementation

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