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
778b30ac
Commit
778b30ac
authored
Dec 09, 2016
by
Alexandre Ardhuin
Committed by
Ian Hickson
Dec 09, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prefer_const_constructor in packages/flutter/bin (#7180)
parent
c8447c91
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
loader_app.dart
packages/flutter/bin/loader/loader_app.dart
+4
-4
No files found.
packages/flutter/bin/loader/loader_app.dart
View file @
778b30ac
...
...
@@ -23,7 +23,7 @@ void main() {
children:
<
Widget
>[
new
Expanded
(
child:
new
Center
(
child:
new
FlutterLogo
(
size:
100.0
),
child:
const
FlutterLogo
(
size:
100.0
),
),
),
new
Expanded
(
...
...
@@ -32,11 +32,11 @@ void main() {
List
<
Widget
>
children
=
<
Widget
>[];
children
.
add
(
new
Text
(
message
,
style:
new
TextStyle
(
fontSize:
24.0
),
style:
const
TextStyle
(
fontSize:
24.0
),
textAlign:
TextAlign
.
center
));
if
(
progressMax
>=
0.0
)
{
children
.
add
(
new
SizedBox
(
height:
18.0
));
children
.
add
(
const
SizedBox
(
height:
18.0
));
children
.
add
(
new
Center
(
child:
new
CircularProgressIndicator
(
value:
progressMax
>
0
?
progress
/
progressMax
:
null
)));
}
return
new
Block
(
children:
children
);
...
...
@@ -45,7 +45,7 @@ void main() {
),
new
Expanded
(
child:
new
Block
(
padding:
new
EdgeInsets
.
symmetric
(
horizontal:
24.0
),
padding:
const
EdgeInsets
.
symmetric
(
horizontal:
24.0
),
children:
<
Widget
>[
new
Text
(
explanation
,
textAlign:
TextAlign
.
center
)
]
),
),
...
...
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