SnappingScrollNotificationHandler.withHapticFeedback constructor

SnappingScrollNotificationHandler.withHapticFeedback({
  1. required double expandedBarHeight,
  2. required double collapsedBarHeight,
  3. double bottomBarHeight = 0.0,
})

Implementation

factory SnappingScrollNotificationHandler.withHapticFeedback({
  required double expandedBarHeight,
  required double collapsedBarHeight,
  double bottomBarHeight = 0.0,
}) =>
    SnappingScrollNotificationHandler(
      expandedBarHeight: expandedBarHeight,
      collapsedBarHeight: collapsedBarHeight,
      shouldAddHapticFeedback: true,
      bottomBarHeight: bottomBarHeight,
    );