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
1272e053
Commit
1272e053
authored
Dec 09, 2016
by
Alexandre Ardhuin
Committed by
Chinmay Garde
Dec 09, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
prefer_const_constructor in packages/flutter/lib (#7179)
parent
37d78753
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
9 deletions
+9
-9
solver.dart
packages/flutter/lib/src/cassowary/solver.dart
+1
-1
about.dart
packages/flutter/lib/src/material/about.dart
+2
-2
bottom_navigation_bar.dart
packages/flutter/lib/src/material/bottom_navigation_bar.dart
+1
-1
checkbox.dart
packages/flutter/lib/src/material/checkbox.dart
+3
-3
chip.dart
packages/flutter/lib/src/material/chip.dart
+1
-1
grid_tile_bar.dart
packages/flutter/lib/src/material/grid_tile_bar.dart
+1
-1
No files found.
packages/flutter/lib/src/cassowary/solver.dart
View file @
1272e053
...
...
@@ -14,7 +14,7 @@ import 'term.dart';
enum
_SymbolType
{
invalid
,
external
,
slack
,
error
,
dummy
,
}
class
_Symbol
{
const
_Symbol
(
this
.
type
);
_Symbol
(
this
.
type
);
final
_SymbolType
type
;
}
...
...
packages/flutter/lib/src/material/about.dart
View file @
1272e053
...
...
@@ -393,7 +393,7 @@ class _LicensePageState extends State<LicensePage> {
),
child:
new
Text
(
license
.
packages
.
join
(
', '
),
style:
new
TextStyle
(
fontWeight:
FontWeight
.
bold
),
style:
const
TextStyle
(
fontWeight:
FontWeight
.
bold
),
textAlign:
TextAlign
.
center
)
));
...
...
@@ -403,7 +403,7 @@ class _LicensePageState extends State<LicensePage> {
padding:
const
EdgeInsets
.
only
(
top:
16.0
),
child:
new
Text
(
paragraph
.
text
,
style:
new
TextStyle
(
fontWeight:
FontWeight
.
bold
),
style:
const
TextStyle
(
fontWeight:
FontWeight
.
bold
),
textAlign:
TextAlign
.
center
)
));
...
...
packages/flutter/lib/src/material/bottom_navigation_bar.dart
View file @
1272e053
...
...
@@ -426,7 +426,7 @@ class BottomNavigationBarState extends State<BottomNavigationBar> with TickerPro
opacity:
animations
[
i
],
child:
new
DefaultTextStyle
.
merge
(
context:
context
,
style:
new
TextStyle
(
style:
const
TextStyle
(
fontSize:
14.0
,
color:
Colors
.
white
),
...
...
packages/flutter/lib/src/material/checkbox.dart
View file @
1272e053
...
...
@@ -203,9 +203,9 @@ class _RenderCheckbox extends RenderToggleable {
..
style
=
PaintingStyle
.
stroke
..
strokeWidth
=
_kStrokeWidth
;
Path
path
=
new
Path
();
Point
start
=
new
Point
(
_kEdgeSize
*
0.15
,
_kEdgeSize
*
0.45
);
Point
mid
=
new
Point
(
_kEdgeSize
*
0.4
,
_kEdgeSize
*
0.7
);
Point
end
=
new
Point
(
_kEdgeSize
*
0.85
,
_kEdgeSize
*
0.25
);
Point
start
=
const
Point
(
_kEdgeSize
*
0.15
,
_kEdgeSize
*
0.45
);
Point
mid
=
const
Point
(
_kEdgeSize
*
0.4
,
_kEdgeSize
*
0.7
);
Point
end
=
const
Point
(
_kEdgeSize
*
0.85
,
_kEdgeSize
*
0.25
);
Point
drawStart
=
Point
.
lerp
(
start
,
mid
,
1.0
-
value
);
Point
drawEnd
=
Point
.
lerp
(
mid
,
end
,
value
);
path
.
moveTo
(
offsetX
+
drawStart
.
x
,
offsetY
+
drawStart
.
y
);
...
...
packages/flutter/lib/src/material/chip.dart
View file @
1272e053
...
...
@@ -95,7 +95,7 @@ class Chip extends StatelessWidget {
message:
'Delete "
$label
"'
,
child:
new
Container
(
padding:
const
EdgeInsets
.
symmetric
(
horizontal:
4.0
),
child:
new
Icon
(
child:
const
Icon
(
Icons
.
cancel
,
size:
18.0
,
color:
Colors
.
black54
...
...
packages/flutter/lib/src/material/grid_tile_bar.dart
View file @
1272e053
...
...
@@ -126,7 +126,7 @@ class GridTileBar extends StatelessWidget {
data:
darkTheme
,
child:
new
IconTheme
.
merge
(
context:
context
,
data:
new
IconThemeData
(
color:
Colors
.
white
),
data:
const
IconThemeData
(
color:
Colors
.
white
),
child:
new
Row
(
crossAxisAlignment:
CrossAxisAlignment
.
center
,
children:
children
...
...
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