getStack static method
获取或创建 ViewModelStack
Implementation
static ViewModelStack getStack(Type type) {
final name = type.toString();
return getIt.registerSingletonIfAbsent<ViewModelStack>(
() => ViewModelStack._(),
instanceName: name,
);
}