• Adam Barth's avatar
    Move default back behavior to FlutterWidgetBinding · e3d587ea
    Adam Barth authored
    Previously MaterialApp was responsible for ending the activity when the
    back stack was empty. However, this behavior is more general than
    material. This patch moves the behavior to FlutterWidgetBinding, which
    has a global view of all the binding observers.
    
    Fixes #1086
    e3d587ea
binding.dart 8.49 KB