I have a showModalBottomSheet like the below, which I understand to inherit from BottomSheet (right?)
showModalBottomSheet
BottomSheet
wrapper Container in WillPopScope widget
WillPopScope
showModalBottomSheet( context: context, builder: (BuildContext context) { return WillPopScope( onWillPop: () aysnc{ // listener dismiss return true; } child : Container( height: 260.0, child: Text('I am text') )); }, );