DragContainer constructor
DragContainer({
- Key? key,
- required Widget dragWidget,
- double initChildRate = 0.1,
- double maxChildRate = 0.4,
- double cornerRadius = 12,
- Color backGroundColor = Colors.white,
- bool isShowHeader = true,
- bool useAtEdge = true,
- Duration duration = const Duration(milliseconds: 250),
- double maxOffsetDistance = 1.5,
- ScrollController? scrollController,
- DragController? controller,
- dynamic dragCallBack(
- bool isOpen
Implementation
DragContainer(
{Key? key,
required this.dragWidget,
this.initChildRate = 0.1,
this.maxChildRate = 0.4,
this.cornerRadius = 12,
this.backGroundColor = Colors.white,
this.isShowHeader = true,
this.useAtEdge = true,
this.duration = const Duration(milliseconds: 250),
this.maxOffsetDistance = 1.5,
this.scrollController,
this.controller,
this.dragCallBack});