Top 5 Flutter Tips for Big Projects
Вставка
- Опубліковано 21 лип 2024
- Learn these 5 tips and you can apply them INSTANTLY in your project. I promise you will not regret doing it! 👏
Course to build a production-ready app 👉 robertbrunhage.com/course
Full writeup & Code: robertbrunhage.com
Want to support me?
♥ Patreon: / robertbrunhage
♥ BuyMeACoffee: buymeacoffee.com/robertbrunhage
♥ Paypal: paypal.me/robertbrunhage
····················································································
You can find me on:
● Website: robertbrunhage.com
● Twitter: / robertbrunhage
● Join our community: / discord
····················································································
😎 Subscribe: bit.ly/2SUyRhx
00:00 Why
00:32 Linting
01:42 Packages
04:02 CI/CD
04:12 Testing
04:49 Theming
What do you all think about the new format?
I tried my best to really shrink the video length to not waste any time and just put as much goodies in as I could 😊
Faster is better ahah. Thanks man, awesome video as always. You are an inspiration man. Thanks and keep the good vibe, ✌️
@@FlutterMapp Thanks, will do!
Thank you Sir
@@iqramunir1468 🌶🔥
This format is awesome thank you
I love your english accent Robert 😂👌🏼 „theme“
😂
Feem 😂😂
@@Whoami-kn4lk Try to pronounce it like he does :D
Omg this helped me so much, especially the local packages part i didnt know you could do that!
❤❤❤ subscribed!! Please full projects 🎉
Awesome 10/10 points
This is very very helpful!
Thanks Robert! :)
Would love to see some tutorials on GraphQL and Flutter :))
I loved those hints on the screen it just made things easier to get, keep it going! :)
Thanks, really appreciated!
the lint is now automatically added when you make a new flutter project
I really needed this 10/10 :D
wohoo!
can see the fireship inspiration, but you made it a lot more serious yet still entertaining
Thank you!
Very valuable. Thanks.
Glad it was helpful!
Project Manager wants new features to be implemented everyday. No time for refactoring :)
Great and useful Video 👋😀
Thank you!
Those are really good tips :)
Glad you like them!
Oh God, the animations are 🔥🔥🔥
Thanks and I am planning to step it up even more!
Full focus is quality 😎
@@RobertBrunhage Many thanks...
Wow 👏🏾👏🏾👏🏾
Where can I find that git merge gif?! Love it haha
What do you think about global constants vs themes?
what is the name of that war film
Thanks I have a way to make FutureBuilder run faster! I would like criticism, I will write a paper on medium
Good tuto, but i have question please, what if you need extra attribute of ThemeData for a specific widget that isn't in ThemeData because ThemeData attribute is limited and of course have ability to switch for light and dark ?
There are a lot of different solutions the main thing I wanted to get at is to have and use colors from a centralized place. That way if you need to change colors of something you don't need to go around in the full application to change it out!
Add CI/CD video in the description
Nice 👍👏
Thanks ✌️
@@RobertBrunhage your video really encouraged me to learn flutter 💕
That is awesome to hear!!
That was short and informative
Glad to hear that!
when the video quality matter
why don't you offer classes or outright mentoring
Thanks Robert, and are you know any examples about local packages on github?
Not exactly sure what you mean.
If you mean hosting your own package on github it's just a matter of making that a repo, push to github and in your pubspec yaml you would just point to the repo!
Smilar as we did when it was local, but instead it's hosted 😊
@@RobertBrunhage not hosting. You create a new folder for authentication and a class. What should be in that class like func, state management or like that?
Anything you want that has to do with authentication!
So you could have a package that do logic for signing in, signing up, signing out etc etc.
It all up to you. I just try to follow the rule of the package handling a feature such as authentication
02:24 No One Literally No One
@Robert Brunhage Using Remove All Comment Extension.😂👍
Had over 700 infos for a 2 months project.
Haha good times 😊
What font do you used? Sorry for my bad english
I use JetBrains Mono 😊
@@RobertBrunhage thanks 👍
Vs code theme? 🤓
what happend when we don't use const ?
Nothing special really. It's just a very small performance increase with using const (medium.com/nerd-for-tech/flutter-performance-analysis-of-const-constructor-d2a72fd8a043) but in most applications this wont make a difference. What I primarily wanted to show is that you can have rules that you need to follow.
For example you can have a rule that makes the constructor always be in the beginning of a class, and so on.
@@RobertBrunhage thanks 😊
@@RobertBrunhage link returned 404
i can't understand a thing. :(
What's your opinion about flutter_lints (based on lints) vs lint? pub.dev says it's the official rules.
No specific opinion, I use my own set of rules most of the time. I would probably just go with the flutter_lints package if I would choose something now.
Either way, any of them will do fine!
@@RobertBrunhage Thanks for advising that BTW. I relied on Android Studio's UI feedbacks, but the linter found 4 extra warnings. Now I think how I should integrate it into a CI/CD along with some tests.