Unverified Commit 0c1ed759 authored by Eilidh Southren's avatar Eilidh Southren Committed by GitHub

Remove newline (#121090)

* remove newline

* update crswap

* add const constructor

* update const
parent 0f69bc7b
......@@ -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']})),
);
}
''';
......
......@@ -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)),
);
}
......
......@@ -1748,7 +1748,6 @@ void main() {
return Checkbox(
value: false,
onChanged: (bool? newValue) {},
);
}),
),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment