Comments (6)
Thanks for all your help. Closing...
from flutter-tutorials.
Hey, thanks. I'm happy I could help π
I didn't implement the validation message because it would be the exact same as in 10. I don't know what you mean by "base_widget gets passed in the child now" it's the same setup as 10, the only difference is that we're constructing the viewmodel our selves and using provider to inject the services. The only difference between this architecture and the one in 10 is that we're not using get_it so the implementation of everything else will be the same.
edit*
I'll dispose the controller when it gives me problems π if there's no problem I write no code π
from flutter-tutorials.
It isn't exact same as 010... try implementing it in 014 and see...
What I mean by base_widget gets passe din the child now... is the difference between this:
and this:
Tell me how you'd pass the validationMessage into LoginHeader in that second example.
re: controller, just pointing it out since you did implement it before and given it is documented best practice to do so, seemed like something you're missing. I'd hate for a new person like me to come along and only see 014 and not implement it because they didn't know to implement it.
from flutter-tutorials.
from flutter-tutorials.
With regards to the user stuff, do you have an example of how you'd do it? How do you set the user for each view?
from flutter-tutorials.
from flutter-tutorials.
Related Issues (20)
- Build a List View with ModelView extending StreamViewModel<T>
- Unable to supply messageText and titleText as showCustomSnackBar arguments HOT 4
- Partial View Building - Rebuilds everything
- Exception on compile time with Flutter 2 HOT 1
- Bottom Sheet Service HOT 1
- Notification service in ios HOT 1
- Shared Preferences injection error using Stacked HOT 2
- Problem firebase messaging in new version flutter HOT 2
- Stream controller providing stale values for onModelReady() HOT 2
- Null Safety HOT 1
- Provider Tutorial example isn't responsive as it's shown on the tutorial (010 and 012) itself HOT 1
- Flutter_Data with Stacked Architecture HOT 1
- Direct Injection and GetX HOT 1
- Navigation Service and null safety HOT 1
- Can not solve the issue in BaseView
- navigationKey.currentState is NULL (Flutter Web Advanced Navigation) HOT 3
- Prevent AppDrawer from reloading
- Shared model
- 001 build error HOT 1
- Is there any way to use viewModel in didUpdateWidget? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-tutorials.