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
6334da01
Unverified
Commit
6334da01
authored
Apr 27, 2018
by
Hans Muller
Committed by
GitHub
Apr 27, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Assert that required dialog context args are non-null (#16890)
parent
396298fb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
about.dart
packages/flutter/lib/src/material/about.dart
+2
-0
No files found.
packages/flutter/lib/src/material/about.dart
View file @
6334da01
...
@@ -151,6 +151,7 @@ void showAboutDialog({
...
@@ -151,6 +151,7 @@ void showAboutDialog({
String
applicationLegalese
,
String
applicationLegalese
,
List
<
Widget
>
children
,
List
<
Widget
>
children
,
})
{
})
{
assert
(
context
!=
null
);
showDialog
<
void
>(
showDialog
<
void
>(
context:
context
,
context:
context
,
builder:
(
BuildContext
context
)
{
builder:
(
BuildContext
context
)
{
...
@@ -185,6 +186,7 @@ void showLicensePage({
...
@@ -185,6 +186,7 @@ void showLicensePage({
Widget
applicationIcon
,
Widget
applicationIcon
,
String
applicationLegalese
String
applicationLegalese
})
{
})
{
assert
(
context
!=
null
);
Navigator
.
push
(
context
,
new
MaterialPageRoute
<
void
>(
Navigator
.
push
(
context
,
new
MaterialPageRoute
<
void
>(
builder:
(
BuildContext
context
)
=>
new
LicensePage
(
builder:
(
BuildContext
context
)
=>
new
LicensePage
(
applicationName:
applicationName
,
applicationName:
applicationName
,
...
...
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