feat: updated container management system with core models, providers, and UI pages

This commit is contained in:
ElPoyo
2026-05-26 21:34:35 +02:00
parent fb740d97a3
commit 64a9fe382a
13 changed files with 1363 additions and 797 deletions
@@ -36,12 +36,15 @@ class MonthView extends StatelessWidget {
return LayoutBuilder(
builder: (context, constraints) {
final rowCount = _computeRowCount(focusedDay);
// TableCalendar has internal vertical padding and margins (approx 16px) that cause overflow
// if not accounted for. We subtract an extra 16.0 pixels to be safe.
final availableHeight = constraints.maxHeight -
(_calendarPadding * 2) -
_headerHeight -
_headerVerticalPadding -
_daysOfWeekHeight;
final rowHeight = availableHeight / rowCount;
_daysOfWeekHeight -
16.0;
final rowHeight = (availableHeight > 0 ? availableHeight : 200.0) / rowCount;
return Container(
height: constraints.maxHeight,