BallPulseHeader constructor

BallPulseHeader(
  1. {Key key,
  2. Color color: Colors.blue,
  3. Color backgroundColor: Colors.transparent,
  4. bool enableHapticFeedback: true,
  5. bool enableInfiniteRefresh: false}
)

Implementation

BallPulseHeader({
  this.key,
  this.color = Colors.blue,
  this.backgroundColor = Colors.transparent,
  bool enableHapticFeedback = true,
  bool enableInfiniteRefresh = false,
}) : super(
        extent: 70.0,
        triggerDistance: 70.0,
        float: false,
        enableHapticFeedback: enableHapticFeedback,
        enableInfiniteRefresh: enableInfiniteRefresh,
      );