You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've installed the package as per the document, it works well but I'm getting a notification in the console as described below:
════════ Exception caught by rendering library ═════════════════════════════════════════════════════
A RenderFlex overflowed by 6.0 pixels on the bottom.
The relevant error-causing widget was:
Timetable<BasicEvent>
A screenshots below to help explain my problem
Before
so, in order to fix it, I've replaced the following line:
Similar to the workaround shown in the issue description, you can configure this height via the theme parameter totalDateIndicatorHeight:
Timetable<BasicEvent>(
controller:/* … */,
theme:TimetableThemeData(
totalDateIndicatorHeight:MediaQuery.of(context).size *0.11,
// You might have to use a different value
),
),
(not tested)
The issue is fixed in the new pre-releases of v1.0.0 by dynamically adjusting this height to the content instead of using a fixed value.
Hi, I've installed the package as per the document, it works well but I'm getting a notification in the console as described below:
A screenshots below to help explain my problem
so, in order to fix it, I've replaced the following line:
timetable/lib/src/header/timetable_header.dart
Line 62 in 93285cf
with
MediaQuery.of(context).size * 0.11 ?? 72
Environment:
The text was updated successfully, but these errors were encountered: