DropSlider constructor

const DropSlider({
  1. required HeightBuilder child,
  2. required Color color,
  3. required HeightBuilder aboveWidget,
  4. BaseDropSwipeController? controller,
  5. VoidCallback? onDragEnd,
  6. VoidCallback? onDragStart,
  7. double? width,
  8. List<BoxShadow>? boxShadow,
  9. double maxHeight = 200,
  10. bool isOnTapEnabled = true,
  11. HapticFeedbackType feedbackType = HapticFeedbackType.light,
  12. Duration opacityDuration = const Duration(milliseconds: 300),
  13. Duration reverseDuration = const Duration(milliseconds: 20),
  14. Key? key,
})

Implementation

const DropSlider({
  required this.child,
  required this.color,
  required this.aboveWidget,
  this.controller,
  this.onDragEnd,
  this.onDragStart,
  this.width,
  this.boxShadow,
  this.maxHeight = 200,
  this.isOnTapEnabled = true,
  this.feedbackType = HapticFeedbackType.light,
  this.opacityDuration = const Duration(milliseconds: 300),
  this.reverseDuration = const Duration(milliseconds: 20),
  Key? key,
}) : super(key: key);