Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
89d1b9e4
Unverified
Commit
89d1b9e4
authored
Aug 18, 2021
by
chunhtai
Committed by
GitHub
Aug 18, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makes PlatformInformationProvider aware of the browser default route … (#88122)
parent
7864e64d
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
147 additions
and
148 deletions
+147
-148
router.dart
packages/flutter/lib/src/widgets/router.dart
+72
-75
route_notification_messages_test.dart
...lutter/test/widgets/route_notification_messages_test.dart
+9
-0
router_test.dart
packages/flutter/test/widgets/router_test.dart
+66
-73
No files found.
packages/flutter/lib/src/widgets/router.dart
View file @
89d1b9e4
This diff is collapsed.
Click to expand it.
packages/flutter/test/widgets/route_notification_messages_test.dart
View file @
89d1b9e4
...
...
@@ -286,6 +286,15 @@ void main() {
routerDelegate:
delegate
,
));
expect
(
find
.
text
(
'initial'
),
findsOneWidget
);
expect
(
log
,
<
Object
>[
isMethodCall
(
'selectMultiEntryHistory'
,
arguments:
null
),
isMethodCall
(
'routeInformationUpdated'
,
arguments:
<
String
,
dynamic
>{
'location'
:
'initial'
,
'state'
:
null
,
'replace'
:
false
,
}),
]);
log
.
clear
();
// Triggers a router rebuild and verify the route information is reported
// to the web engine.
...
...
packages/flutter/test/widgets/router_test.dart
View file @
89d1b9e4
This diff is collapsed.
Click to expand it.
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