Skip to content

Commit 570a22d

Browse files
committed
dart format .
1 parent 5710305 commit 570a22d

File tree

11 files changed

+16
-51
lines changed

11 files changed

+16
-51
lines changed

boring_to_beautiful/step_01/lib/src/features/home/view/home_screen.dart

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ class _HomeScreenState extends State<HomeScreen> {
9797
crossAxisAlignment: CrossAxisAlignment.start,
9898
children: [
9999
Padding(
100-
padding: const EdgeInsets.all(
101-
2,
102-
),
100+
padding: const EdgeInsets.all(2),
103101
child: Text(
104102
'Top Songs Today',
105103
style: context.titleLarge,
@@ -122,9 +120,7 @@ class _HomeScreenState extends State<HomeScreen> {
122120
crossAxisAlignment: CrossAxisAlignment.start,
123121
children: [
124122
Padding(
125-
padding: const EdgeInsets.all(
126-
2,
127-
),
123+
padding: const EdgeInsets.all(2),
128124
child: Text(
129125
'New Releases',
130126
style: context.titleLarge,

boring_to_beautiful/step_01/lib/src/shared/app.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ class MyApp extends StatefulWidget {
2020

2121
class _MyAppState extends State<MyApp> {
2222
final settings = ValueNotifier(
23-
ThemeSettings(
24-
sourceColor: Colors.pink,
25-
themeMode: ThemeMode.system,
26-
),
23+
ThemeSettings(sourceColor: Colors.pink, themeMode: ThemeMode.system),
2724
);
2825
@override
2926
Widget build(BuildContext context) {

boring_to_beautiful/step_01/lib/src/shared/views/outlined_card.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ class _OutlinedCardState extends State<OutlinedCard> {
2121
cursor: widget.clickable
2222
? SystemMouseCursors.click
2323
: SystemMouseCursors.basic,
24-
child: Container(
25-
child: widget.child,
26-
),
24+
child: Container(child: widget.child),
2725
);
2826
}
2927
}

boring_to_beautiful/step_02/lib/src/features/home/view/home_screen.dart

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ class _HomeScreenState extends State<HomeScreen> {
9797
crossAxisAlignment: CrossAxisAlignment.start,
9898
children: [
9999
Padding(
100-
padding: const EdgeInsets.all(
101-
2,
102-
),
100+
padding: const EdgeInsets.all(2),
103101
child: Text(
104102
'Top Songs Today',
105103
style: context.titleLarge,
@@ -122,9 +120,7 @@ class _HomeScreenState extends State<HomeScreen> {
122120
crossAxisAlignment: CrossAxisAlignment.start,
123121
children: [
124122
Padding(
125-
padding: const EdgeInsets.all(
126-
2,
127-
),
123+
padding: const EdgeInsets.all(2),
128124
child: Text(
129125
'New Releases',
130126
style: context.titleLarge,

boring_to_beautiful/step_02/lib/src/shared/app.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ class MyApp extends StatefulWidget {
2020

2121
class _MyAppState extends State<MyApp> {
2222
final settings = ValueNotifier(
23-
ThemeSettings(
24-
sourceColor: Colors.pink,
25-
themeMode: ThemeMode.system,
26-
),
23+
ThemeSettings(sourceColor: Colors.pink, themeMode: ThemeMode.system),
2724
);
2825
@override
2926
Widget build(BuildContext context) {

boring_to_beautiful/step_02/lib/src/shared/views/outlined_card.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ class _OutlinedCardState extends State<OutlinedCard> {
2121
cursor: widget.clickable
2222
? SystemMouseCursors.click
2323
: SystemMouseCursors.basic,
24-
child: Container(
25-
child: widget.child,
26-
),
24+
child: Container(child: widget.child),
2725
);
2826
}
2927
}

boring_to_beautiful/step_03/lib/src/features/home/view/home_screen.dart

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ class _HomeScreenState extends State<HomeScreen> {
9797
crossAxisAlignment: CrossAxisAlignment.start,
9898
children: [
9999
Padding(
100-
padding: const EdgeInsets.all(
101-
2,
102-
),
100+
padding: const EdgeInsets.all(2),
103101
child: Text(
104102
'Top Songs Today',
105103
style: context.titleLarge,
@@ -122,9 +120,7 @@ class _HomeScreenState extends State<HomeScreen> {
122120
crossAxisAlignment: CrossAxisAlignment.start,
123121
children: [
124122
Padding(
125-
padding: const EdgeInsets.all(
126-
2,
127-
),
123+
padding: const EdgeInsets.all(2),
128124
child: Text(
129125
'New Releases',
130126
style: context.titleLarge,

boring_to_beautiful/step_03/lib/src/shared/app.dart

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,7 @@ class MyApp extends StatefulWidget {
2020

2121
class _MyAppState extends State<MyApp> {
2222
final settings = ValueNotifier(
23-
ThemeSettings(
24-
sourceColor: Colors.pink,
25-
themeMode: ThemeMode.system,
26-
),
23+
ThemeSettings(sourceColor: Colors.pink, themeMode: ThemeMode.system),
2724
);
2825
@override
2926
Widget build(BuildContext context) {

boring_to_beautiful/step_03/lib/src/shared/views/outlined_card.dart

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@ class _OutlinedCardState extends State<OutlinedCard> {
2121
cursor: widget.clickable
2222
? SystemMouseCursors.click
2323
: SystemMouseCursors.basic,
24-
child: Container(
25-
child: widget.child,
26-
),
24+
child: Container(child: widget.child),
2725
);
2826
}
2927
}

boring_to_beautiful/step_04/lib/src/features/home/view/home_screen.dart

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -97,9 +97,7 @@ class _HomeScreenState extends State<HomeScreen> {
9797
crossAxisAlignment: CrossAxisAlignment.start,
9898
children: [
9999
Padding(
100-
padding: const EdgeInsets.all(
101-
2,
102-
),
100+
padding: const EdgeInsets.all(2),
103101
child: Text(
104102
'Top Songs Today',
105103
style: context.titleLarge,
@@ -122,9 +120,7 @@ class _HomeScreenState extends State<HomeScreen> {
122120
crossAxisAlignment: CrossAxisAlignment.start,
123121
children: [
124122
Padding(
125-
padding: const EdgeInsets.all(
126-
2,
127-
),
123+
padding: const EdgeInsets.all(2),
128124
child: Text(
129125
'New Releases',
130126
style: context.titleLarge,

0 commit comments

Comments
 (0)