📅  最后修改于: 2022-03-11 14:55:57.830000             🧑  作者: Mango
void setupBottomSheetUi() {
final bottomSheetService = locator();
final builders = {
BottomSheetType.floating: (context, sheetRequest, completer) =>
_FloatingBoxBottomSheet(request: sheetRequest, completer: completer)
};
bottomSheetService.setCustomSheetBuilders(builders);
}