DraggableFloatingWidget constructor
const
DraggableFloatingWidget({
- Key? key,
- required Size size,
- required Widget builder(
- BuildContext context,
- GestureDragUpdateCallback onPanUpdate,
- GestureDragEndCallback onPanEnd
- Offset defaultOffset()?,
- double commitThreshold = 0.5,
- double peekExtent = 28,
- BorderRadius borderRadius = BorderRadius.zero,
Implementation
const DraggableFloatingWidget({
super.key,
required this.size,
required this.builder,
this.defaultOffset,
this.commitThreshold = 0.5,
this.peekExtent = 28,
this.borderRadius = BorderRadius.zero,
});