DefaultBottomSheetConfig constructor
const
DefaultBottomSheetConfig({
- required BottomSheetChildBuilder builder,
- bool isScrollControlled = false,
- bool enableDrag = true,
- bool adjustToKeyboardChanges = true,
Implementation
const DefaultBottomSheetConfig({
required super.builder,
super.isScrollControlled = false,
super.enableDrag = true,
// need to wrap the builder with a scroll controller, otherwise the adjustments
// for keyboard changes wouldn't work
super.adjustToKeyboardChanges,
});