DefaultBottomSheetConfig constructor

const DefaultBottomSheetConfig(
  1. {required BottomSheetChildBuilder builder,
  2. bool isScrollControlled = false,
  3. bool enableDrag = true,
  4. 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,
});