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
0c1ed759
Unverified
Commit
0c1ed759
authored
Feb 23, 2023
by
Eilidh Southren
Committed by
GitHub
Feb 23, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove newline (#121090)
* remove newline * update crswap * add const constructor * update const
parent
0f69bc7b
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
5 deletions
+4
-5
checkbox_template.dart
dev/tools/gen_defaults/lib/checkbox_template.dart
+2
-2
checkbox.dart
packages/flutter/lib/src/material/checkbox.dart
+2
-2
checkbox_test.dart
packages/flutter/test/material/checkbox_test.dart
+0
-1
No files found.
dev/tools/gen_defaults/lib/checkbox_template.dart
View file @
0c1ed759
...
...
@@ -112,8 +112,8 @@ class _${blockName}DefaultsM3 extends CheckboxThemeData {
VisualDensity get visualDensity => _theme.visualDensity;
@override
OutlinedBorder get shape => RoundedRectangleBorder(
borderRadius: BorderRadius.
circular(
${tokens['md.comp.checkbox.unselected.outline.width']}
),
OutlinedBorder get shape =>
const
RoundedRectangleBorder(
borderRadius: BorderRadius.
all(Radius.circular(
${tokens['md.comp.checkbox.unselected.outline.width']}
)
),
);
}
'''
;
...
...
packages/flutter/lib/src/material/checkbox.dart
View file @
0c1ed759
...
...
@@ -874,8 +874,8 @@ class _CheckboxDefaultsM3 extends CheckboxThemeData {
VisualDensity
get
visualDensity
=>
_theme
.
visualDensity
;
@override
OutlinedBorder
get
shape
=>
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
circular
(
2.0
),
OutlinedBorder
get
shape
=>
const
RoundedRectangleBorder
(
borderRadius:
BorderRadius
.
all
(
Radius
.
circular
(
2.0
)
),
);
}
...
...
packages/flutter/test/material/checkbox_test.dart
View file @
0c1ed759
...
...
@@ -1748,7 +1748,6 @@ void main() {
return
Checkbox
(
value:
false
,
onChanged:
(
bool
?
newValue
)
{},
);
}),
),
...
...
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