Closed gagandeep-s closed 4 years ago
I managed to resolve this by creating a listview container at the top of "new DayViewSchedule()" instantiation:
return Container( child: new DayViewEssentials( properties: new DayViewProperties( days: <DateTime>[_today], ), child: new Column( children: <Widget>[ new Container( color: Colors.grey[200], child: new DayViewDaysHeader( headerItemBuilder: _headerItemBuilder, )), new Expanded( ------- child: ListView(children: <Widget>[ ------- new DayViewSchedule( heightPerMinute: 1.0, components: <ScheduleComponent>[ new TimeIndicationComponent.intervalGenerated( generatedTimeIndicatorBuilder: _generatedTimeIndicatorBuilder, ), new SupportLineComponent.intervalGenerated( generatedSupportLineBuilder: _generatedSupportLineBuilder, ), new DaySeparationComponent( generatedDaySeparatorBuilder: _generatedDaySeparatorBuilder, ), new EventViewComponent( getEventsOfDay: _getEventsOfDay, ) ], ) ]), ) ], )), );
day view while rendering positioned widgets doesn't enable vertical scroll. Entire view from 00:00 hrs to 23:59 hrs should be visible and vertically scrollable.