Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
flutter_boost_1.22.4
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
谢冠章
flutter_boost_1.22.4
Commits
d4209aba
Commit
d4209aba
authored
Aug 26, 2019
by
余玠
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add log to debug
parent
b938473e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
13 deletions
+14
-13
lib/flutter_boost.dart
lib/flutter_boost.dart
+14
-13
No files found.
lib/flutter_boost.dart
View file @
d4209aba
...
@@ -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
;
print
(
"[DEBUG]-should i ContainerCoordinator.singleton.nativeContainerDidShow again?"
);
// if (pageInfo.containsKey("name") &&
// if (pageInfo.containsKey("name") &&
// pageInfo.containsKey("params") &&
// pageInfo.containsKey("params") &&
// pageInfo.containsKey("uniqueId")) {
// pageInfo.containsKey("uniqueId")) {
// ContainerCoordinator.singleton.nativeContainerDidShow(
// ContainerCoordinator.singleton.nativeContainerDidShow(
// pageInfo["name"], pageInfo["params"], pageInfo["uniqueId"]);
// 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?'
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment