dispose method

  1. @protected
void dispose()

You can override this method to do any cleanup before the widget gets destroyed.

This method will be automatically called by the framework.

Implementation

@protected
void dispose() {}