dispose method

void dispose()

Implementation

void dispose() {
  WidgetsBinding.instance.removeObserver(this);
  PaintingBinding.instance.systemFonts.removeListener(_fontsChanged);
  _letGo();
}