Improved messages

This commit is contained in:
Juan Gilsanz Polo
2024-02-24 13:55:00 +01:00
parent dfa2a98b0e
commit dbfbc44837
2 changed files with 23 additions and 17 deletions

View File

@@ -15,24 +15,26 @@ class NoDataScreen extends StatelessWidget {
child: Row(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
Icons.clear_rounded,
size: 50,
color: Theme.of(context).colorScheme.onSurfaceVariant,
),
const SizedBox(height: 30),
Text(
message,
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 24,
Expanded(
child: Column(
mainAxisAlignment: MainAxisAlignment.center,
children: [
Icon(
Icons.clear_rounded,
size: 50,
color: Theme.of(context).colorScheme.onSurfaceVariant,
),
),
],
const SizedBox(height: 30),
Text(
message,
textAlign: TextAlign.center,
style: TextStyle(
fontSize: 24,
color: Theme.of(context).colorScheme.onSurfaceVariant,
),
),
],
),
),
],
),