From d9a62ce404ad4d0b83b75b97fd59439e993bef7e Mon Sep 17 00:00:00 2001 From: Felipe Date: Tue, 2 Jan 2024 18:11:05 -0500 Subject: [PATCH] desing --- lib/src/presentation/screens/calendar.dart | 38 +++++++++++++++++----- 1 file changed, 30 insertions(+), 8 deletions(-) diff --git a/lib/src/presentation/screens/calendar.dart b/lib/src/presentation/screens/calendar.dart index a9f412c..69daf47 100644 --- a/lib/src/presentation/screens/calendar.dart +++ b/lib/src/presentation/screens/calendar.dart @@ -145,16 +145,21 @@ class _CalendarScreenState extends State { ), ), SizedBox( - width: double.infinity, - child: Padding( - padding: - const EdgeInsets.symmetric(horizontal: 15, vertical: 8), - child: Text(DateFormat('dd MMMM yyyy', 'es').format(today)), - )), + width: double.infinity, + child: Padding( + padding: const EdgeInsets.symmetric(horizontal: 15, vertical: 8), + child: Text(DateFormat('dd MMMM yyyy', 'es').format(today), + style: const TextStyle( + color: Colors.black, + fontSize: 16, + fontWeight: FontWeight.w600, + )), + ), + ), const Divider( height: 0, ), - _eventList() + Expanded(child: SingleChildScrollView(child: _eventList())) ], ), floatingActionButton: FloatingActionButton( @@ -365,6 +370,7 @@ class _CalendarScreenState extends State { LoadingItemList(useCircleAvatar: false), LoadingItemList(useCircleAvatar: false), LoadingItemList(useCircleAvatar: false), + LoadingItemList(useCircleAvatar: false), ], ); } @@ -385,7 +391,23 @@ class _CalendarScreenState extends State { } if (eventos.isEmpty) { - return const Center(child: Text('No tienes citas')); + return const Padding( + padding: EdgeInsets.only(top: 30), + child: Center( + child: Text( + 'No tienes citas', + style: TextStyle( + color: Colors.black, + fontSize: + 18, // Tamaño de fuente ajustado según tus preferencias + fontWeight: + FontWeight.w500, // Puedes ajustar el peso de la fuente + fontStyle: FontStyle.italic, // Puedes agregar estilo italic + // Otros estilos según tus preferencias + ), + ), + ), + ); } return Column( children: [