BezierHourGlassHeader constructor

BezierHourGlassHeader({
  1. Key? key,
  2. Color color = Colors.white,
  3. Color? backgroundColor = Colors.blue,
  4. bool enableHapticFeedback = false,
})

Implementation

BezierHourGlassHeader({
  this.key,
  this.color = Colors.white,
  this.backgroundColor = Colors.blue,
  bool enableHapticFeedback = false,
}) : super(
        extent: 80.0,
        triggerDistance: 80.0,
        float: false,
        enableHapticFeedback: enableHapticFeedback,
        enableInfiniteRefresh: false,
        completeDuration: const Duration(seconds: 1),
      );