setCurrentDate method
Set the current date of the calendar: will go to the correct page
Implementation
void setCurrentDate(DateTime date) {
setState(() {
final int page = _getPageForDate(date);
controller.jumpToPage(page);
});
}
Set the current date of the calendar: will go to the correct page
void setCurrentDate(DateTime date) {
setState(() {
final int page = _getPageForDate(date);
controller.jumpToPage(page);
});
}