fix: getFormatTime retorna String? — agregar fallback vacio

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Lizandro Guarnizo
2026-06-27 08:25:29 -05:00
co-authored by Claude Sonnet 4.6
parent 9cde46b88a
commit 1fd29bbfdd
+1 -1
View File
@@ -556,7 +556,7 @@ class _DashboardViewState extends State<DashboardView> {
const Icon(Icons.access_time, size: 17, color: Color(0xFF42A4EF)),
const SizedBox(width: 6),
Text(
ScheduleEntity.getFormatTime(_selectedHour!),
ScheduleEntity.getFormatTime(_selectedHour!) ?? '',
style: const TextStyle(fontSize: 13),
),
const Spacer(),