dispose method

  1. @override
  2. @mustCallSuper
void dispose()
inherited

Part of the Flutter engine's 'garbage collection' process. Note: YOU WILL HAVE NO IDEA WHEN THIS WILL RUN in the Framework. BEST NOT TO USE THIS FUNCTION EVER!

Implementation

@override
@mustCallSuper
void dispose() {
  // Call the dispose of the implementation of Change Notifier
  disposeChangeNotifier();

  /// Controllers state property is now null from deactivate() function
  /// Always call 'initializing' routines in initState() and activate()
  super.dispose();
}