WaterDropHeader constructor

const WaterDropHeader({
  1. Key? key,
  2. Widget? refresh,
  3. Widget? complete,
  4. Duration completeDuration = const Duration(milliseconds: 600),
  5. Widget? failed,
  6. Color waterDropColor = Colors.grey,
  7. Widget idleIcon = const Icon(Icons.autorenew, size: 15, color: Colors.white),
})

Implementation

const WaterDropHeader({
  Key? key,
  this.refresh,
  this.complete,
  Duration completeDuration = const Duration(milliseconds: 600),
  this.failed,
  this.waterDropColor = Colors.grey,
  this.idleIcon = const Icon(
    Icons.autorenew,
    size: 15,
    color: Colors.white,
  ),
}) : super(key: key, height: 60.0, completeDuration: completeDuration, refreshStyle: RefreshStyle.UnFollow);