dispose method

  1. @override
void dispose()

Dispose the App properties.

Implementation

@override
void dispose() {
  _menu = null;
  _connectivitySubscription?.cancel();
  _connectivitySubscription = null;
//    _packageInfo = null;
  _themeData = null;
//    _appWidget = null;
  _appState = null;
  // Restore the original error handling.
  _errorHandler!.dispose();
  _errorHandler = null;
}