From f2d9d8ce1d4ad73fbcc06c336da3db54347844ed Mon Sep 17 00:00:00 2001 From: Sasha Krstev Date: Fri, 7 Jul 2023 10:11:55 +0200 Subject: [PATCH] Hide Modal bottom sheet from material library #61 --- lib/widgets/modal_sheet_presentation.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/widgets/modal_sheet_presentation.dart b/lib/widgets/modal_sheet_presentation.dart index 5efacad..3ed7b27 100644 --- a/lib/widgets/modal_sheet_presentation.dart +++ b/lib/widgets/modal_sheet_presentation.dart @@ -1,6 +1,6 @@ import 'dart:io'; -import 'package:flutter/material.dart'; +import 'package:flutter/material.dart' hide ModalBottomSheetRoute; import 'package:modal_bottom_sheet/modal_bottom_sheet.dart'; Future showModalSheet( diff --git a/pubspec.yaml b/pubspec.yaml index c2b8657..d5bbc90 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -71,7 +71,7 @@ dependencies: # views webview_flutter: ^4.0.2 - modal_bottom_sheet: ^2.0.0 + modal_bottom_sheet: ^3.0.0-pre pull_to_refresh: 2.0.0 # notifications