Tapping a modal bottom sheet should not dismiss it by default (#32528)

Removed the GestureDetector from the modal bottom sheet that dismissed it on tap and updated several tests to accommodate this change.
This commit is contained in:
Darren Austin
2019-05-15 15:50:39 -07:00
committed by GitHub
parent 20299a2c17
commit 3d93f24c05
4 changed files with 55 additions and 49 deletions

View File

@@ -24,7 +24,7 @@ class ModalBottomSheetDemo extends StatelessWidget {
return Container(
child: Padding(
padding: const EdgeInsets.all(32.0),
child: Text('This is the modal bottom sheet. Tap anywhere to dismiss.',
child: Text('This is the modal bottom sheet. Slide down to dismiss.',
textAlign: TextAlign.center,
style: TextStyle(
color: Theme.of(context).accentColor,