dispose method
Clear all fields when dispose. 销毁时重置所有内容
Implementation
@override
void dispose() {
_isAssetsEmpty = false;
_paths.clear();
_currentPath = null;
_currentAssets.clear();
_mounted = false;
super.dispose();
}
Clear all fields when dispose. 销毁时重置所有内容
@override
void dispose() {
_isAssetsEmpty = false;
_paths.clear();
_currentPath = null;
_currentAssets.clear();
_mounted = false;
super.dispose();
}