disposeControllers method
void
disposeControllers()
Implementation
void disposeControllers() {
if (_currentSnackbar != null) {
_currentSnackbar?._removeOverlay();
_currentSnackbar?._controller.dispose();
_snackbarList.remove(_currentSnackbar);
}
_queue.cancelAllJobs();
for (final SnackbarController element in _snackbarList) {
element._controller.dispose();
}
_snackbarList.clear();
}