I add a flutter module to my native android project, I push a page or showModalBottomSheet a dialog in flutter project, it looks like working very well in flutter project. But when I add it to android project, I click the phone's bottom virtual back when a dialog is showing or push a page, all flutter pages are returned. It seems that dialog or page can't get focus.
I follow this article https://github.com/flutter/flutter/wiki/Add-Flutter-to-existing-apps#use-the-flutter-module-from-your-java-code.
I don't have a nice way to solve this problem.
@xster @jmagman @dnfield