dispose method
void
dispose()
Keep a dispose method to sync with State. 保留一个 dispose 方法与 State 同步。
Be aware that the method will do nothing when keepScrollOffset is true. 注意当 keepScrollOffset 为 true 时方法不会进行释放。
Implementation
void dispose() {
Constants.scrollPosition = null;
gridScrollController.dispose();
permission.dispose();
permissionOverlayHidden.dispose();
}