Open IsaiChristian opened 1 year ago
You can wrap your dashboard widgets with NotificationListener
widget like below
NotificationListener<ScrollNotification>(
onNotification: (notification) {
return true;
},
child: DashboardDataWidget(item: item),
),
Here is the full code of itemBuilder
itemBuilder: (BaseDashboardBaseItem item) {
return Stack(
children: [
if (item.data != null)
NotificationListener<ScrollNotification>(
onNotification: (notification) {
return true;
},
child: DashboardDataWidget(item: item),
),
],
);
},
When you have items inside the dashboard that have a scrollbar, the dashboard will display a small/long scroll bar on the side that will react with the dashboarditem Im adding a screenshot to example the issue:
Ive tried defining a scroll controller with no succes