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
23d41278
Commit
23d41278
authored
Jun 25, 2019
by
Jidong Chen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opt
parent
e998f5dd
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
4 deletions
+1
-4
ios/Classes/Boost/FlutterBoostPlugin.m
ios/Classes/Boost/FlutterBoostPlugin.m
+1
-1
lib/flutter_boost.dart
lib/flutter_boost.dart
+0
-3
lib/support/tracer.dart
lib/support/tracer.dart
+0
-0
No files found.
ios/Classes/Boost/FlutterBoostPlugin.m
View file @
23d41278
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
static
dispatch_once_t
onceToken
;
static
dispatch_once_t
onceToken
;
dispatch_once
(
&
onceToken
,
^
{
dispatch_once
(
&
onceToken
,
^
{
if
([
platform
respondsToSelector
:
@selector
(
useBoost2
useBoost2
)]
&&
platform
.
useBoost2
){
if
([
platform
respondsToSelector
:
@selector
(
useBoost2
)]
&&
platform
.
useBoost2
){
_factory
=
FLB2Factory
.
new
;
_factory
=
FLB2Factory
.
new
;
}
else
{
}
else
{
_factory
=
FLBFactory
.
new
;
_factory
=
FLBFactory
.
new
;
...
...
lib/flutter_boost.dart
View file @
23d41278
...
@@ -67,8 +67,6 @@ class FlutterBoost {
...
@@ -67,8 +67,6 @@ class FlutterBoost {
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?'
);
//Logger.log('Running flutter boost opt!');
final
BoostContainerManager
manager
=
BoostContainerManager
(
final
BoostContainerManager
manager
=
BoostContainerManager
(
key:
_instance
.
containerManagerKey
,
key:
_instance
.
containerManagerKey
,
initNavigator:
child
,
initNavigator:
child
,
...
@@ -89,7 +87,6 @@ class FlutterBoost {
...
@@ -89,7 +87,6 @@ class FlutterBoost {
BoostMessageChannel
.
methodChannel
=
_methodChannel
;
BoostMessageChannel
.
methodChannel
=
_methodChannel
;
_methodChannel
.
setMethodCallHandler
((
MethodCall
call
){
_methodChannel
.
setMethodCallHandler
((
MethodCall
call
){
if
(
call
.
method
==
"__event__"
){
if
(
call
.
method
==
"__event__"
){
//Handler broadcast event.
return
BoostMessageChannel
.
handleEventCall
(
call
);
return
BoostMessageChannel
.
handleEventCall
(
call
);
}
else
if
(
call
.
method
==
"didDisappearPageContainer"
){
}
else
if
(
call
.
method
==
"didDisappearPageContainer"
){
String
pageName
=
call
.
arguments
[
"pageName"
];
String
pageName
=
call
.
arguments
[
"pageName"
];
...
...
lib/support/
T
racer.dart
→
lib/support/
t
racer.dart
View file @
23d41278
File moved
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