desing
This commit is contained in:
@@ -145,16 +145,21 @@ class _CalendarScreenState extends State<CalendarScreen> {
|
||||
),
|
||||
),
|
||||
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<CalendarScreen> {
|
||||
LoadingItemList(useCircleAvatar: false),
|
||||
LoadingItemList(useCircleAvatar: false),
|
||||
LoadingItemList(useCircleAvatar: false),
|
||||
LoadingItemList(useCircleAvatar: false),
|
||||
],
|
||||
);
|
||||
}
|
||||
@@ -385,7 +391,23 @@ class _CalendarScreenState extends State<CalendarScreen> {
|
||||
}
|
||||
|
||||
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: [
|
||||
|
||||
Reference in New Issue
Block a user