realhackg25
realhackg25
> I changed the code `viewModelBuilder: () => locator() ` to `viewModelBuilder: () => locator.get()` ,Everything works fine. > > @BrylleGomez @FilledStacks This is not solving the issue `ViewModelBuilder.reactive( viewModelBuilder:...
you can see that I used locator.get() but still I can not get the app to work in release mode, NOTE that in debug mode works fine @FilledStacks
And I also have this in my route defined LoginViewModel as dependency so it can be picked by locator `@StackedApp( routes: [ MaterialRoute(page: StartUpView, initial: true), MaterialRoute(page: DashboardView), MaterialRoute(page: SignUpFormView),...
This is not solving the issue `ViewModelBuilder.reactive( viewModelBuilder: () => locator.get(), builder: (context, model, child) { return Container( margin: const EdgeInsets.only(top: 50), child: Column( children: [ Padding( padding: const EdgeInsets.only(left:...
and I have this `@StackedApp( routes: [ MaterialRoute(page: StartUpView, initial: true), MaterialRoute(page: DashboardView), MaterialRoute(page: SignUpFormView), MaterialRoute(page: BusinessHomeView), MaterialRoute(page: LoginView), ], dependencies: [ LazySingleton(classType: NavigationService), LazySingleton(classType: LoginViewModel) ], ) class AppSetup...