One day view - callback when swiping between days
Opened this issue · 1 comments
Deleted user commented
is there a callback when swiping between days in one day view? I would like to fetch new data from server when i swipe to new day, and stack them in a list (so that i only fetch those data for those days that are not inside a list)
Deleted user commented
To listen date changes DateController addListener
method can be used:
dart
@override
void initState() {
super.initState();
_dateController.addListener(() {
print(_dateController.value.date);
});
}