closeNotification method
void
closeNotification()
Implementation
void closeNotification() {
if (isClosing) return;
isClosing = true;
if (_timer != null) {
_timerProvider.cancel(_timer!);
}
_controller.reverse().then((_) {
widget.onClose();
});
}