Clean Architecture in Flutter - All You Need to Know!

  Рет қаралды 34,525

Flutter Guys

Flutter Guys

Күн бұрын

📄Architecture is very important in developing an application. Architecture can be likened to a floor plan that describes how the flow in an application project. The main purpose of implementing the architecture is the separation of concern (SoC). So, it will be easier if we can work by focusing on one thing at a time.
In the context of Flutter, clean architecture will help us to separate code for business logic with code related to platforms such as UI, state management, and external data sources. In addition, the code that we write can be easier to test (testable) independently.
🤖About AI - Please Subscribe :
🔗 / @theaionline
🌐 Telegram Community
🔗 t.me/flutterguysgp
⚡ SUBSCRIBE HERE⚡
🔗 cutt.ly/2XkZz0X
🌐Social Media
🔗 Linkedin: / mahdinazmi
🔗 GitHub: github.com/mahdinazmi
🔗 Twitter: / flutterguys1
#flutter #fluttertutorial #flutterwidgets #fluttercourse #flutter2023 #flutterroadmap

Пікірлер: 44
@NadaHasni
@NadaHasni 11 ай бұрын
this is the most easy to digest clean architecture tutorial on youtube! You're channel is so underrated. This deserves more recognition! Thank you for these amazing tutorials
@flutterguys
@flutterguys 11 ай бұрын
Glad it was helpful!
@hayk.galstyan
@hayk.galstyan Жыл бұрын
This is the best example of clean I've ever seen even outside of flutter... Impressive!
@flutterguys
@flutterguys Жыл бұрын
Wow, thanks!
@shamshushaash5251
@shamshushaash5251 Жыл бұрын
These type of contents are very unique, Looking forward for projects in clean Architecture
@flutterguys
@flutterguys Жыл бұрын
Glad it was helpful!
@SyntacOps
@SyntacOps 10 ай бұрын
My absolute respect for this absolutely valuable video! Probably the best video on clean architecture that I have seen.
@flutterguys
@flutterguys 10 ай бұрын
Glad you enjoyed it!
@user-ni4ul7ku8u
@user-ni4ul7ku8u Жыл бұрын
Great video on Clean Architecture in Flutter! It's always great to see practical examples of how to apply software architecture principles in real-world scenarios. I appreciate how the presenter explained the importance of separation of concerns and how it can lead to more maintainable and scalable code. The examples and diagrams helped to illustrate the concepts clearly. Thanks for sharing this valuable information!
@flutterguys
@flutterguys Жыл бұрын
Glad it was helpful!
@maxkee2834
@maxkee2834 Жыл бұрын
This video is so great Thanks sir
@rr2r2r2ra
@rr2r2r2ra Жыл бұрын
Awesome work, so timely now that I'm studying Code with Andreas article about Riverpod Architecture.
@flutterguys
@flutterguys Жыл бұрын
Glad it was helpful!
@barziyassin1
@barziyassin1 3 ай бұрын
master piece 👌
@nipunshah1373
@nipunshah1373 Жыл бұрын
Truly crisp and totally informative video ! Great if it would be exemplified with small example !
@flutterguys
@flutterguys Жыл бұрын
Glad you liked it!
@claytonliusem4sve826
@claytonliusem4sve826 Жыл бұрын
you are awsome guy! I love your flutter tutorial truely
@flutterguys
@flutterguys Жыл бұрын
Thank you so much 😀
@senmi6949
@senmi6949 Жыл бұрын
What's the difference between entity and models ? Would be great if you provide sample codes.
@matthiasimegi8211
@matthiasimegi8211 Жыл бұрын
Very well done and explained.👍
@flutterguys
@flutterguys Жыл бұрын
Glad it was helpful!
@suryaishnavi
@suryaishnavi Жыл бұрын
Looking forward for projects in clean Architecture using bloc state management
@squidproxy136
@squidproxy136 9 ай бұрын
where does the bottom navigation tab fit in this design pattern maybe the core ? and thanks for the video
@user-kt2le3mr1s
@user-kt2le3mr1s 5 ай бұрын
great
@CharlesSteinmetz1
@CharlesSteinmetz1 Жыл бұрын
thank you for this really nice video! I am looking forward to the next one on this topic. I am always a bit confused when features have to share code such as entities or repositories... do you guys have a resource I could learn more about it? (I am afraid I will end up adding all my code in the core folder since a lot of things are used throughout the app 😅) thank you!
@flutterguys
@flutterguys Жыл бұрын
Glad it was helpful! You need to check others code. With a simple search on GitHub, you can check Flutter projects that use clean architecture.
@trungtranthanh8912
@trungtranthanh8912 10 ай бұрын
@viewer5099
@viewer5099 11 ай бұрын
Is this architecture portable in other framework or is it Flutter specific ?
@user-gx5mk2dm2d
@user-gx5mk2dm2d Жыл бұрын
🙏🙏🙏
@duongtruong7772
@duongtruong7772 11 ай бұрын
i have a question why don't we use the same class domain/entities/ which datasources/models, i saw them pretty common, i don't know why we have to split it to 2 different class
@flutterguys
@flutterguys 11 ай бұрын
Domain layer must be independent. If we use entity in the data layer, we may have to change the entity due to changes in the API or database, and this is against the clean architecture and domain layer.
@nebiberke
@nebiberke 4 ай бұрын
In Clean Architecture, when different features need to use the same API access code in the same data layer, what should be done?
@flutterguys
@flutterguys 4 ай бұрын
Create a shared folder and put inside it
@user-rj7rn2xt9m
@user-rj7rn2xt9m Жыл бұрын
Could you please give us to flutter sample project KZbin video, about "clean architecture" in Flutter with database ?
@flutterguys
@flutterguys Жыл бұрын
We are planning about it. Soon you will get it. 👍👍👍
@baguskto
@baguskto Жыл бұрын
Where you put Shared folder?
@flutterguys
@flutterguys Жыл бұрын
The folders in core do the same work as shared libraries
@joshuanwokoye
@joshuanwokoye Жыл бұрын
Nice content, but it seems like there will be so many folders when using clean architecture
@semihylmaz4936
@semihylmaz4936 Жыл бұрын
Nice video thanks for your effort 😊 I wanna say something about this. I love the practices Clean archirecture and feature based folder structure. But i don’t think they fit with each other that much. Let’s say “Auth” feature has a User model and usecase createUser. In the “Settings” feature we also need user model and delete functioned usecase with it. // Should i re-type User model and usecase ? No it’s too bad practice. // impoting auth/model in “Settings” feature ? Why “Settings” can not be a feature without “Auth” one. So some of layers should separated for example lib - - core - features-> presentation - app_layer -> data,domain I’m still thinking about it. If you know some good practices for this please share with us.
@flutterguys
@flutterguys Жыл бұрын
I totally agree with you. Clean Architecture is just a concept of decoupling different layers. So create any folder structure which best suit in the scenario to keep the code DRY. 👍👍👍
@Hazara_boy
@Hazara_boy Жыл бұрын
Are the admins of the channel from Pakistan and Iran? 😮
@flutterguys
@flutterguys Жыл бұрын
Yes
@Hazara_boy
@Hazara_boy Жыл бұрын
@@flutterguys ❤️
Мы никогда не были так напуганы!
00:15
Аришнев
Рет қаралды 6 МЛН
Osman Kalyoncu Sonu Üzücü Saddest Videos Dream Engine 170 #shorts
00:27
The child was abused by the clown#Short #Officer Rabbit #angel
00:55
兔子警官
Рет қаралды 24 МЛН
Flutter Basics by a REAL Project
25:42
Flutter Guys
Рет қаралды 412 М.
Learn SOLID Principles with CLEAN CODE Examples
28:35
Amigoscode
Рет қаралды 263 М.
Flutter: BLoC Testing in 10 Minutes
13:49
Brad Cypert
Рет қаралды 775
Flutter Clean Architecture Visual Explanation
6:15
Flutter Mapp
Рет қаралды 25 М.
State Management Like A Pro - Flutter Riverpod
10:30
Robert Brunhage
Рет қаралды 75 М.
Mastering Clean Architecture & Repository Pattern in Flutter
52:01
David Serrano
Рет қаралды 19 М.
GamePad İle Bisiklet Yönetmek #shorts
0:26
Osman Kabadayı
Рет қаралды 635 М.
Собери ПК и Получи 10,000₽
1:00
build monsters
Рет қаралды 2,2 МЛН
Урна с айфонами!
0:30
По ту сторону Гугла
Рет қаралды 8 МЛН
⚡️Супер БЫСТРАЯ Зарядка | Проверка
1:00
Simple maintenance. #leddisplay #ledscreen #ledwall #ledmodule #ledinstallation
0:19
LED Screen Factory-EagerLED
Рет қаралды 24 МЛН
1$ vs 500$ ВИРТУАЛЬНАЯ РЕАЛЬНОСТЬ !
23:20
GoldenBurst
Рет қаралды 1,5 МЛН