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
1
Merge Requests
1
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
d911ad60
Commit
d911ad60
authored
Jun 12, 2019
by
GZCFrameWork
Committed by
GitHub
Jun 12, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:增加漏传的文件
parent
f4427cf1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
lib/container/navigator_observer.dart
lib/container/navigator_observer.dart
+26
-0
No files found.
lib/container/navigator_observer.dart
0 → 100644
View file @
d911ad60
import
'package:flutter_boost/container/boost_container.dart'
;
import
'package:flutter/material.dart'
;
import
'package:flutter_boost/AIOService/NavigationService/service/NavigationService.dart'
;
class
NavigatorCanPopObserver
extends
BoostNavigatorObserver
{
@override
void
didPush
(
Route
route
,
Route
previousRoute
)
{
super
.
didPush
(
route
,
previousRoute
);
_noticeCanPopToNative
(
route
);
}
@override
void
didPop
(
Route
route
,
Route
previousRoute
)
{
// TODO: implement didPop
super
.
didPop
(
route
,
previousRoute
);
_noticeCanPopToNative
(
route
);
}
_noticeCanPopToNative
(
Route
route
){
bool
canPop
=
route
.
navigator
.
canPop
();
NavigationService
.
flutterCanPop
(
canPop
);
}
}
\ No newline at end of file
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