Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
fluttertpc_get
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Volodymyr Buberenko
2020-12-08 16:15:33 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
3e4d55f70c1c806022074ab7aaeafa7b193de6c1
3e4d55f7
1 parent
90643976
Fix wrong cast in Get.offUntil test
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletions
test/navigation/get_main_test.dart
test/navigation/get_main_test.dart
View file @
3e4d55f
...
...
@@ -214,7 +214,9 @@ void main() {
});
testWidgets
(
"Get.offUntil navigates to provided route"
,
(
tester
)
async
{
await
tester
.
pumpWidget
(
Wrapper
(
child:
FirstScreen
()));
await
tester
.
pumpWidget
(
Wrapper
(
child:
Container
()));
Get
.
to
(
FirstScreen
());
Get
.
offUntil
(
GetPageRoute
(
page:
()
=>
ThirdScreen
()),
(
route
)
=>
(
route
as
GetPageRoute
).
routeName
==
'/FirstScreen'
);
...
...
Please
register
or
login
to post a comment