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