PhoenixHeader constructor

PhoenixHeader({
  1. Key? key,
  2. bool enableHapticFeedback = false,
})

Implementation

PhoenixHeader({
  this.key,
  bool enableHapticFeedback = false,
}) : super(
        extent: 80.0,
        triggerDistance: 80.0,
        float: false,
        enableHapticFeedback: enableHapticFeedback,
        enableInfiniteRefresh: false,
        completeDuration: const Duration(seconds: 1),
      );