Commit d4209aba authored by 余玠's avatar 余玠

add log to debug

parent b938473e
...@@ -60,19 +60,20 @@ class FlutterBoost { ...@@ -60,19 +60,20 @@ class FlutterBoost {
PrePushRoute prePush, PrePushRoute prePush,
PostPushRoute postPush}) { PostPushRoute postPush}) {
// WidgetsBinding.instance.addPostFrameCallback((_){ WidgetsBinding.instance.addPostFrameCallback((_){
// singleton.channel.invokeMethod<Map>('pageOnStart').then((Map pageInfo){ singleton.channel.invokeMethod<Map>('pageOnStart').then((Map pageInfo){
// if (pageInfo == null || pageInfo.isEmpty) return; if (pageInfo == null || pageInfo.isEmpty) return;
// if (pageInfo.containsKey("name") && print("[DEBUG]-should i ContainerCoordinator.singleton.nativeContainerDidShow again?");
// pageInfo.containsKey("params") && // if (pageInfo.containsKey("name") &&
// pageInfo.containsKey("uniqueId")) { // pageInfo.containsKey("params") &&
// ContainerCoordinator.singleton.nativeContainerDidShow( // pageInfo.containsKey("uniqueId")) {
// pageInfo["name"], pageInfo["params"], pageInfo["uniqueId"]); // ContainerCoordinator.singleton.nativeContainerDidShow(
// } // pageInfo["name"], pageInfo["params"], pageInfo["uniqueId"]);
// }); // }
// }); });
});
return (BuildContext context, Widget child) { return (BuildContext context, Widget child) {
assert(child is Navigator, 'child must be Navigator, what is wrong?'); assert(child is Navigator, 'child must be Navigator, what is wrong?');
......
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