Тёмный

Dart Linting Tutorial - Healthy Flutter Codebase with analysis_options.yaml 

Reso Coder
Подписаться 112 тыс.
Просмотров 17 тыс.
50% 1

📗 Learn from the written tutorial 👇👇
resocoder.com/dart-linting
📧 Get Flutter news 📰 and resources:
👉 flutter.education
👨‍💻 Do you write good code? Find out now!
resocoder.com/good-code-quiz
Nobody cares about code quality... until they feel the consequences of this negligence. Keeping the quality of your code high is absolutely crucial, especially when you work on a team. Every app is built by writing individual statements first so before even discussing high-level design patterns, you should start with project cleanliness from the ground up - by configuring more advanced linting.
Go to my website for more information, code examples, and articles:
● resocoder.com
Follow me on social media:
● / resocoder
● / resocoder
● / resocoder

Опубликовано:

 

16 июл 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 60   
@chetan6406
@chetan6406 4 года назад
You are the only person who makes the tutorial that explains fundamentals of flutter .
@chordfunc3072
@chordfunc3072 4 года назад
When I first gave flutter a shot, the highest jump in code quality was probably when I enabled format on save and started to insert trailing commas
@abraiyan7984
@abraiyan7984 3 года назад
I will meet you one day and say thanks for what you are doing for us. He is not only making tutorials for the advanced stuff but also for the beginners. Soon, I will start your DDD and TDD course. Thanks, Reso :D
@kiyotaka627
@kiyotaka627 4 года назад
I really don't know what to say man, your content is out of this world. the flutter community loves you
@rydmike
@rydmike 4 года назад
Simple the best explanation and to the point tutorial on Dart linters I have seen so far! 👍
@rohittp1585
@rohittp1585 4 года назад
Your content is amazing! Good job bro ♥️😊
@QuentinVaucelleAuzel
@QuentinVaucelleAuzel 4 года назад
New to flutter development with bad habits in previous coding experience, your very well made tutorials going back to the basics and explaining the what and why are amazing. I truly believe that your courses should be part of the fundamental tutorials for a new flutter/dart developer coming from previous coding experience. Thank you for these high quality tutorials.
@ferdinandsteenkamp1333
@ferdinandsteenkamp1333 4 года назад
My team and I have been using 'assert' to achieve some of these results but it's so messy...can't believe we didn't know about this. Thanks man, your work is really top quality :D
@syedwajid1899
@syedwajid1899 4 года назад
Thank you very much ..this was really helpful ..pls keep making such content ..i'm learning a lot watching your videos 😄
@AndreyPiterov
@AndreyPiterov 4 года назад
Thank you, very helpful 💪🏼👍🏼
@AshishSingh-753
@AshishSingh-753 4 года назад
Best Channel for learning flutter
@utrodussaidalbaqi9556
@utrodussaidalbaqi9556 4 года назад
I love your content bro,, realy helpful
@albanr8028
@albanr8028 3 года назад
Thank you !
@mazenalsakkaf
@mazenalsakkaf 4 года назад
Another great video..many thanks for this. May I know if there is an upcoming video about Package Creation and Publishing
@wrblxyz
@wrblxyz 4 года назад
7:45 -- sure, linter rule for this is a solution, but if you really does not want `x` to be reassigned just use `final`, like so: `String someMethod(**final** int x)`. There may be some rare cases that parameter reassignment would make sense but linter will just throw an error nevertheless. Great video!
@pathakvivek7865
@pathakvivek7865 4 года назад
Awesome 👍
@programan6391
@programan6391 4 года назад
Magnificent
@aliakkawi4759
@aliakkawi4759 4 года назад
HI, thanks for the great tutorials, please make videos about reactive dart programming using rxDart. Thanks
@ResoCoder
@ResoCoder 4 года назад
It's on my list.
@parvinderjitsingh5117
@parvinderjitsingh5117 3 года назад
You are great. Actually Dart is good but all these stuff should be baked into dart. Sometimes feels that I am working in JS. Swift and Kotlin are great language
@MrARBN
@MrARBN 4 года назад
How to start flutter. Which one of your toturial explen it step by step? Like your weather toturial
@PS-dp8yg
@PS-dp8yg 4 года назад
I love your content, but I have a quick question. Do you have a beginners course that will take a beginner from dart fundamentals to architecturing a flutter app? If so, I would be glad to support you by paying for it.
@arifikhsanudin9724
@arifikhsanudin9724 4 года назад
Please make tutorial about end to end testing
@greglee7708
@greglee7708 2 года назад
+Reso Coder is there a way to fix all problems at once, and not one by one?
@keremc.4650
@keremc.4650 4 года назад
Which extension tree view in code editor ?
@houssainel101
@houssainel101 2 года назад
There new rules can u make a video about it
@Vellutia
@Vellutia 4 года назад
I can't seem to turn this to false 'argument_type_not_assignable: false'. It causing error for dynamic json, because json.decode return dynamic
@christianonwe2045
@christianonwe2045 4 года назад
Thanks Mat for this awesome content again. Thought of adding linting to GitLab CI running automated tests but was scared of the dart default linting resulting to unnecessary bugs. My question is would flutter_analyze command work with this and ditch the default lint rules?
@ResoCoder
@ResoCoder 4 года назад
Yes, it will.
@christianonwe2045
@christianonwe2045 4 года назад
@@ResoCoder Thanks alot
@babimalas2400
@babimalas2400 4 года назад
how to exclude generated files?
@GabrielCosta-xr5vr
@GabrielCosta-xr5vr 4 года назад
Thanks for the video! I was using the pedantic package but after the video I changed for the lint and got 300+ problems in VS Code. I think someone needs to write better code... Haha
@ResoCoder
@ResoCoder 4 года назад
Good luck with fixing the code!
@ianjaspersantos7229
@ianjaspersantos7229 4 года назад
Can I use all 3 plugins at the same time? (Pedantic and the other 2? Does it work?
@ResoCoder
@ResoCoder 4 года назад
I didn't try it but why would you want to do that?
@ihebdjebbar
@ihebdjebbar 2 года назад
18:45 Sorry Javascript :D
@EasyX2y
@EasyX2y 4 года назад
set up lint... all my (working) code turns red. learning the hard way haha
@ResoCoder
@ResoCoder 4 года назад
Rather sooner than later, eh? 😄
@ShadowInfest
@ShadowInfest 4 года назад
Got a bit lazy lately but still high quality tutorials as always 😉
@ResoCoder
@ResoCoder 4 года назад
Clients bruh 😬😅
@ShadowInfest
@ShadowInfest 4 года назад
@@ResoCoder haha I wrote that a little bit wrong... I tried to say that I'm lazy haha Not you. I do to many things at once and my time is just not enough. I know what it means to prepare those videos mate and you know I highly appreciate them 🤪😬😉🤘
@DraskoSaric
@DraskoSaric 4 года назад
When do you sleep?
@ResoCoder
@ResoCoder 4 года назад
At night. CET, which is probably your time zone as well.
@DraskoSaric
@DraskoSaric 4 года назад
@@ResoCoder , you published a lot of material on youtube, you had to work a lot to try it out, to prepare the lectures, to possibly work on other projects, I thought you don't have time to sleep at all, that's why I asked. :)
@aridwiprayogo
@aridwiprayogo 4 года назад
Nobody care but me care 😏🙂
@ResoCoder
@ResoCoder 4 года назад
That's good!
@aridwiprayogo
@aridwiprayogo 4 года назад
Hello my favorite channel flutter development Reso Coder I just read Twitter from Jetbrains where they made a new font called Jetbrains Mono,I comment about this because it is related to the video, and this font have compared with fira and consolas and i enjoyed that font not intending to promote their company 🙏🙏
@ResoCoder
@ResoCoder 4 года назад
@@aridwiprayogo thanks, I'll check it out
@arifikhsanudin9724
@arifikhsanudin9724 4 года назад
I care
@alexandervasilenko7773
@alexandervasilenko7773 4 года назад
Again, cool info. Thanx for that! And for that (5:40): """Dart has really idiotic type defaults...""" Copyright (C) 2020 by RC. :))) LOL! And thanx a lot for the info about the package!
@ResoCoder
@ResoCoder 4 года назад
I think Google will file a copyright infringement though 😞
@alexandervasilenko7773
@alexandervasilenko7773 4 года назад
@@ResoCoder I think at the nearest future they'll improve such bottlenecks you're mentioned before. Hope so.
@sohedulislam1652
@sohedulislam1652 3 года назад
Please! Reduce your intro sound.
@LordHeigler
@LordHeigler 4 года назад
How you keep your voice that deep? If I talk like that I wouldn't need to hit gym anymore in order to date women
Далее
Freezed ❄ - Data Class & Union in One Dart Package
36:28
100+ Linux Things you Need to Know
12:23
Просмотров 772 тыс.
Flutter Bloc & Cubit Tutorial
47:58
Просмотров 120 тыс.
Google Data Center 360° Tour
8:29
Просмотров 5 млн