onNotifyWithDate method

void onNotifyWithDate(
  1. DateTime current, [
  2. DateTime? old
])

Implementation

void onNotifyWithDate(DateTime current, [DateTime? old]) {
  onNotifyWithCallback(() {
    currentDay = current;
    oldDay = old ?? current;
  });
}