dispose method

  1. @mustCallSuper
void dispose()

Keep a dispose method to sync with State. 保留一个 dispose 方法与 State 同步。

Implementation

@mustCallSuper
void dispose() {
  Singleton.scrollPosition = null;
  gridScrollController.dispose();
  isSwitchingPath.dispose();
  permission.dispose();
  permissionOverlayDisplay.dispose();
}