fix: getFormatTime retorna String? — agregar fallback vacio
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Sonnet 4.6
parent
9cde46b88a
commit
1fd29bbfdd
@@ -556,7 +556,7 @@ class _DashboardViewState extends State<DashboardView> {
|
|||||||
const Icon(Icons.access_time, size: 17, color: Color(0xFF42A4EF)),
|
const Icon(Icons.access_time, size: 17, color: Color(0xFF42A4EF)),
|
||||||
const SizedBox(width: 6),
|
const SizedBox(width: 6),
|
||||||
Text(
|
Text(
|
||||||
ScheduleEntity.getFormatTime(_selectedHour!),
|
ScheduleEntity.getFormatTime(_selectedHour!) ?? '',
|
||||||
style: const TextStyle(fontSize: 13),
|
style: const TextStyle(fontSize: 13),
|
||||||
),
|
),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
|
|||||||
Reference in New Issue
Block a user