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