disposeState method

  1. @override
void disposeState(
  1. State<Component> state
)

Disposes current state, to make the Context null and unusable after the rendering is completely finished.

Exposed with the purpose to be overriden by Spinner and Progress components which dispose the context only when the done function is called.

Implementation

@override
void disposeState(State state) {}