timetable
timetable copied to clipboard
_TimeIndicatorsLayout does not meet its constraints.
On using timetable: ^1.0.0-alpha.13 with flutter version 3.16.4, I am getting the following exception:
_TimeIndicatorsLayout does not meet its constraints. Constraints: BoxConstraints(w=30.0, h=1341.4) Size: Size(29.9, 1341.4) If you are not writing your own RenderBox subclass, then this is not your fault. Contact support: https://github.com/flutter/flutter/issues/new?template=2_bug.yml
Code:
SizedBox(
width: 46,
child: TimeZoom(
child: Padding(
padding: const EdgeInsets.symmetric(horizontal: 8),
child: TimeIndicators.hours(
firstHour: 0,
lastHour: 24,
alignFirstAndLastLabelsInside: true,
styleProvider: TimetableTheme.of(context)?.timeIndicatorStyleProvider,
),
),
),
);