showModalBottomSheet( context: context, isScrollControlled: true, builder: (BuildContext context) { return SingleChildScrollView( child: Container( padding: EdgeInsets.only( bottom: MediaQuery.of(context).viewInsets.bottom), child: PlaceYourChildWidget(), )); });