indentation and trailing commas.

This commit is contained in:
fkarmoush
2025-03-26 13:49:54 +03:00
parent 02d61ca0bb
commit 56407c6426

View File

@ -101,8 +101,7 @@ class SceneView extends StatelessWidget {
builder: (context, state) {
if (state is SceneLoading) {
return const Center(
child: CircularProgressIndicator(),
);
child: CircularProgressIndicator());
}
if (state is SceneError) {
return Center(
@ -151,9 +150,7 @@ class SceneView extends StatelessWidget {
'No scenes have been added yet',
),
),
const SizedBox(
height: 10,
),
const SizedBox(height: 10),
],
),
),
@ -184,20 +181,16 @@ class SceneView extends StatelessWidget {
'No automations have been added yet',
),
),
const SizedBox(
height: 10,
),
const SizedBox(height: 10),
],
),
),
const SizedBox(
height: 15,
),
const SizedBox(height: 15),
],
),
);
}
return const SizedBox();
return const SizedBox.shrink();
},
),
],