Commit 3ac1608f authored by Jidong Chen's avatar Jidong Chen Committed by GitHub

compilation error

parent 468c5f3c
......@@ -28,7 +28,7 @@ import 'package:flutter_boost/container/boost_container.dart';
import 'package:flutter_boost/container/container_coordinator.dart';
import 'package:flutter_boost/flutter_boost.dart';
import 'package:flutter_boost/support/logger.dart';
import 'package:flutter_boost/container/navigator_observer.dart';
enum ContainerOperation { Push, Onstage, Pop, Remove }
typedef BoostContainerObserver = void Function(
......@@ -100,8 +100,6 @@ class ContainerManagerState extends State<BoostContainerManager> {
assert(widget.initNavigator != null);
_onstage = BoostContainer.copy(widget.initNavigator);
FlutterBoost.containerManager.navigatorObserver.addBoostNavigatorObserver(NavigatorCanPopObserver());
WidgetsBinding.instance.addPostFrameCallback((_) {
setState(() {});
});
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment