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 { ...@@ -112,8 +112,8 @@ class _${blockName}DefaultsM3 extends CheckboxThemeData {
VisualDensity get visualDensity => _theme.visualDensity; VisualDensity get visualDensity => _theme.visualDensity;
@override @override
OutlinedBorder get shape => RoundedRectangleBorder( OutlinedBorder get shape => const RoundedRectangleBorder(
borderRadius: BorderRadius.circular(${tokens['md.comp.checkbox.unselected.outline.width']}), borderRadius: BorderRadius.all(Radius.circular(${tokens['md.comp.checkbox.unselected.outline.width']})),
); );
} }
'''; ''';
......
...@@ -874,8 +874,8 @@ class _CheckboxDefaultsM3 extends CheckboxThemeData { ...@@ -874,8 +874,8 @@ class _CheckboxDefaultsM3 extends CheckboxThemeData {
VisualDensity get visualDensity => _theme.visualDensity; VisualDensity get visualDensity => _theme.visualDensity;
@override @override
OutlinedBorder get shape => RoundedRectangleBorder( OutlinedBorder get shape => const RoundedRectangleBorder(
borderRadius: BorderRadius.circular(2.0), borderRadius: BorderRadius.all(Radius.circular(2.0)),
); );
} }
......
...@@ -1748,7 +1748,6 @@ void main() { ...@@ -1748,7 +1748,6 @@ void main() {
return Checkbox( return Checkbox(
value: false, value: false,
onChanged: (bool? newValue) {}, 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