dispose method

  1. @override
void dispose()

This is called on Ref.dispose. You can override this method to dispose resources.

Implementation

@override
void dispose() {
  state.pageController.dispose();
  super.dispose();
}