DropSlider constructor
const
DropSlider({
- required HeightBuilder child,
- required Color color,
- required HeightBuilder aboveWidget,
- BaseDropSwipeController? controller,
- VoidCallback? onDragEnd,
- VoidCallback? onDragStart,
- double? width,
- List<
BoxShadow> ? boxShadow, - double maxHeight = 200,
- bool isOnTapEnabled = true,
- HapticFeedbackType feedbackType = HapticFeedbackType.light,
- Duration opacityDuration = const Duration(milliseconds: 300),
- Duration reverseDuration = const Duration(milliseconds: 20),
- 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);