dispose method

  1. @protected
  2. @mustCallSuper
void dispose()

Called when this object is removed from the tree permanently.

https://api.flutter.dev/flutter/widgets/State/dispose.html

Implementation

@protected
@mustCallSuper
void dispose() {}