removeDrawerInstance static method
移除抽屉路由实例
当不再需要某个抽屉路由栈时,调用此方法释放资源
Implementation
static void removeDrawerInstance(String stackId) {
final instance = _drawerInstances[stackId];
if (instance != null) {
instance.dispose();
_drawerInstances.remove(stackId);
}
}