ScrollableClient constructor
const
ScrollableClient({
- Key? key,
- bool? primary,
- Axis mainAxis = Axis.vertical,
- ScrollableDetails verticalDetails = const ScrollableDetails.vertical(),
- ScrollableDetails horizontalDetails = const ScrollableDetails.horizontal(),
- required ScrollableBuilder builder,
- Widget? child,
- DiagonalDragBehavior diagonalDragBehavior = DiagonalDragBehavior.none,
- DragStartBehavior dragStartBehavior = DragStartBehavior.start,
- ScrollViewKeyboardDismissBehavior keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
- Clip clipBehavior = Clip.hardEdge,
- HitTestBehavior hitTestBehavior = HitTestBehavior.opaque,
- bool overscroll = false,
Implementation
const ScrollableClient({
super.key,
this.primary,
this.mainAxis = Axis.vertical,
this.verticalDetails = const ScrollableDetails.vertical(),
this.horizontalDetails = const ScrollableDetails.horizontal(),
required this.builder,
this.child,
this.diagonalDragBehavior = DiagonalDragBehavior.none,
this.dragStartBehavior = DragStartBehavior.start,
this.keyboardDismissBehavior = ScrollViewKeyboardDismissBehavior.manual,
this.clipBehavior = Clip.hardEdge,
this.hitTestBehavior = HitTestBehavior.opaque,
this.overscroll = false,
});