Комментарии:
thanks
ОтветитьDioError is deprecated.
Ответитьdo we really need usecases why cant we use repositories instead of usecases directly.
ОтветитьAt first, I thought the video was playing at 1.5x speed😐
Btw...thanks for this video!!
For those whose build_runner command is not working add retrofit_generator in dev_dependencies.
ОтветитьKemey kevselsm do asmelash
ОтветитьAmazing
ОтветитьWhat a great video, thanks alot !!
ОтветитьGo to video for one who wants to learn Clean Architecture with a real world example. Definitely a good watch & bookmark for me for Future references. Thanks a lot for the valuable content. I had to pause and watch to understand, the content is very intense.
Ответитьits better have data/domain/presentation as main layers, and then add by module like data/auth/..., that repeat on each feature all the auth/domain/data... layers, having many directories make it complex to read.. simple its better always
Ответить❤
ОтветитьIf you have multiple features for an app, would you not want to put the app database class and its generated floor code in the core package? Having it in the news feature package would make sense if that feature was going to be standalone module but Im not familiar with how that works in flutter and Im assuming thats not the case here.
ОтветитьБро просто сделал титаническую работу. Спасибо
ОтветитьThank you very much for sharing this knowledge 🙏💚. I wanted to ask if I had many models, entities, and api services. Every time I run "build_runner build," will I have to edit all the api services to work properly the same way we did it in this video?
ОтветитьPlease put subtitles on your videos. Today with AIs it is so simple and easy! This way, people from all over the world can see your videos.
ОтветитьNice 🚀🚀. I use to use clean arch. using modules instead, couse of scalability, imagine an app like uber that has four apps (eats, user, drivers, deliveries) different apps, with módules you can share most of the code for each app. Obviusly this will depends on the business, for a single app, this is it 🚀🚀
Ответитьwhy not hive? retrofit really need dio can do most of the work ?
ОтветитьVery bad idea to edit generated files
ОтветитьI did not understand anything 🙃
ОтветитьHello, can you tell how to pass bloc reference from one screen to others.
Ответитьinstead of DataSuccess and DataFailed we can use Functional programming..
ОтветитьSir you just earned a new subscriber
Ответитьgreat video! one question, is it safe updating generated files by hand ? what happens when you rerun the build command ? will your manual updates not be overriden ?
ОтветитьRecently I'm thought about what is good architecture for flutter project. And I met this channel and this Clean Architecture is blowing my mind. This video has concrete example so I can learn the folder structure and concepts of clean architecture. Thanks you from bottom of my hearts❤. From S.Korea as Flutter position developer.
ОтветитьThe DAO should be injected, not the whole database
ОтветитьWhen I have written in MVC, I've usually had another project called Domain.Shared as well as Domain. Is this a good idea for a Flutter project? What about class inheritance? As an example. A BaseEntity to hold/contain shared properties between entity classes?
ОтветитьHi, great video. May I know what extension are you using for the folder icon?
ОтветитьThe summary: we need to write hundreds of lines of boilerplate because otherwise it's against the rules of clean architecture.
Remember that each line you write needs to be computed. The less code, the faster is your app, the more maintainable it is etc.
You don't need classes for success and failure when you just can use Either from fpdart, you dont need entity and model if you can use freezed to do all of it. You don't need half of clean architecture when you can use retrofit. You don't need the second half when you use riverpod. Let those libraries generate boilerplate for you. They output optimized and tested code so you don't need to worry about performance too much.
Thank you for this great explanation
Can you please share the updated repo?
the repo in the link is not updated
Best Regards,
Firstly, thanks for the video. Great explanations with great content.
I have two questions.
1. Is it a good practise extending dataModel from entity? I think they should be seperate totally and we can use a mapper class for entity->model or model->entity transformations.
2. Is using methods like _buildAppBar and _buildBody legal? I agree with you, the code looks organized but I think flutter doesn't recommend doing this due to performance issues.
What do you think?
The folder structure is a bit complex, but a great video nonetheless. I would much like to see a cleaner implementation without relying on multiple dependencies. A question, at this moment, i was working on a hobby project of mysql node js api which i could call using retrofit. Flutter Bloc has went through a lot of updates. If Possible Please do an indepth video on Hydrated Bloc pattern and Retrofit CRUD Requests Would love to see your take on that.
ОтветитьThe moment I see someone define a method called fromJson() or toJson() that doesn't actually deal with JSON (JSON Serialisation) I'm out 🤣🤣
ОтветитьYour talking faster, as you talk with pro not beginners, just upload Normal video playback
Ответитьthnx, please a clean aechitecture project with Hive and bloc
ОтветитьDo you have a course on udemy?
ОтветитьThe video I should have seen before starting the application I’m working on xD
ОтветитьI hate the annoying AI generated voice.👎
ОтветитьHow to prevent retrofit auto generate file news_api_service.g.dart because we will fix it for response in manual hand
ОтветитьI am quitting flutter 😭
ОтветитьIt's not really clean, the folder structure actually makes me confused :), but it's still a great video, thanks for sharing!
ОтветитьTks, great content, i've learned a lot with your videos.
Just one point. I dont like to my domain depend on dio package. Dio is a infrastructure concern
Most clean architecture projects focus on working with apis. What if you have firebase as backend? Which layer should you put your firebase methods in?
ОтветитьCan't we do this with riverpod?
Ответитьsimple explanation, great video. Im looking forward for new videos keep going man
Ответитьgreat work and cool video!)
it whould be very interesting to see the same topic in some depth: pagination.
how to handle state when we have pagination in items list?
and what if we need save all content, not only selected by user, for displaying when there are no conection?
Not getting anything
Ответить