Flutter Performance Tip: Keep Your Build Pure

  Рет қаралды 21,882

Fun with Flutter

Fun with Flutter

2 жыл бұрын

Keep your build method pure and free of side effects. In this Flutter performance tip, we explore some considerations with the Flutter build method - what to do and what not to do.
✍🏻 Article: www.funwithflutter.dev/flutte...
🐥 Twitter: / gordonphayes
📚 Courses: bit.ly/funwithcourse
☕️ www.buymeacoffee.com/gordonhayes
Playlist: • Flutter Performance Tips

Пікірлер: 37
@rydmike
@rydmike 2 жыл бұрын
Great stuff Gordon, this will help both new and old FlutterDev's. Loved the arrows that pointed to what your were talking about in the code. I somehow got "Robert Brunhage" vibes from this video, lol. The fast pace is cool, but might be just a tiny tad too fast for less experienced Flutter developers, perhaps, hard to say. In any case, great video and topic, keep 'em coming!
@RobertBrunhage
@RobertBrunhage 2 жыл бұрын
First time I hear that someone has a "Robert Brunhage" vibe. I approve 😎
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
Thanks so much, Mike! Feedback like this is really helpful! The pacing is always hard to get right, it’s definitely difficult to know what will be too fast for a beginner, and non native English speakers. And YES definitely Robert inspired 😅. Stole the arrow from his videos.
@rydmike
@rydmike 2 жыл бұрын
@@FunwithFlutter Personally I think the pacing keeps it interesting, definitely not a dull second in the video. As for the “Robert Brunhage” vibe, not sure who is borrowing who’s vibe anymore 😂. You two were always very similar in your tutorials, in an excellent way. Gosh, you even sound a bit alike, tone and tempo wise. I remember in early Flutter days I got you two mixed up when I was trying to recall who had made a video I was looking for 😀💙
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
@@rydmike The pacing makes the editing process a lot more fun as well! Thanks for all of the feedback and compliments 😊. Robert's vids are excellent so it's nice to hear my vids have a similar vibe.
@hawkybae
@hawkybae 2 жыл бұрын
Great tips! looking forward to the future parts of this series :D
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
Thanks! I have plenty planned 😎
@ianjaspersantos8915
@ianjaspersantos8915 2 жыл бұрын
I love this kind of on point and fast demo
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
Nice. I really like making them
@RobertBrunhage
@RobertBrunhage 2 жыл бұрын
Loved your way of explaining and showing this! Looking forward to more of these tips 😊
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
Thanks Robert! I definitely took inspiration from your vids
@RobertBrunhage
@RobertBrunhage 2 жыл бұрын
@@FunwithFlutter already done that from you, might do it again 😂
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
Going full circle lol
@lucasdelsol1170
@lucasdelsol1170 2 жыл бұрын
Great editing, to the point. Love the fact that you point to the real problem (have pure build) instead of telling people to make everything possible so that build is called less often.
@sachaarbonel3940
@sachaarbonel3940 2 жыл бұрын
Super informative tip thanks! Keep them coming
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
Will do 🚀
@talatkuyuk6556
@talatkuyuk6556 2 жыл бұрын
You are awesome. It helped me better understood.
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
You’re welcome ☺️
@aytunch
@aytunch 2 жыл бұрын
Great series. Please show using the dart dev tools for profiling an app for cpu and memory and jank. A lot of us have jank problems in our apps but we can not pinpoint them because there are not many resources on using the dart dev tools and profiling. The UI is very complicated. I would love to learn it from your tutorial:D
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
Great ideas, thanks. I definitely plan on making vids discussing the dev tools
@VitorLucasOFICIAL
@VitorLucasOFICIAL 2 жыл бұрын
@@FunwithFlutter that's a very good topic to approach.
@seggamulti1219
@seggamulti1219 2 жыл бұрын
I totally agreeeeee!!with my full chestt
@nurola
@nurola 2 жыл бұрын
Useful content. thanks.
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
Glad it’s helpful
@saibotblack
@saibotblack 2 жыл бұрын
Great. Please more of this. 👍
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
Will do!!
@AyushPanditofficial
@AyushPanditofficial 2 жыл бұрын
Hello bro i know ui part but suggest me key part learning lectures
@thegorilla8395
@thegorilla8395 Жыл бұрын
Keep going
@mruduladdipalli5417
@mruduladdipalli5417 2 жыл бұрын
Awesome tip
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
Glad it was helpful!
@mhmzdev
@mhmzdev 2 жыл бұрын
How to improve performance with Images in App :) Great stuff toh
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
Good idea! Will make a vid on that. And thanks!
@UsamaKarim
@UsamaKarim 2 жыл бұрын
Wow. Keep it up
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
💪🏻
@FilledStacks
@FilledStacks 2 жыл бұрын
Lets gooooooooo!
@FunwithFlutter
@FunwithFlutter 2 жыл бұрын
🚀
@seggamulti1219
@seggamulti1219 2 жыл бұрын
This is veryyyyyyyy related, but no matter how hard I try my flutter apps hardly render under 16m/s...asper I used a ListView builder to render a list of items (clickable items and 10 showed at once on the screen)I previously used a gesture detector and container(only had a text)...it didn't render under 16m/s then I thought and thought I wondered why I didn't use a TextButton...broo!!!!the performance became worse....note all these were in profile mode...like I literally put so much effort in it and they are zero practical tutorials teaches how to make production apps under 16m/s, they always just ranting!!!Cos apparently most people do not care about performance until its visible on the app🙄for God's sake I'm a self taught programmer...show me the way...make us understand how things work underneath and like I don't even know ...just do something about it... please 🙂
Improve your Flutter Apps performance with a RepaintBoundary
31:31
Fun with Flutter
Рет қаралды 14 М.
Lazy Flutter performance | Session
18:30
Flutter
Рет қаралды 58 М.
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 16 МЛН
Double Stacked Pizza @Lionfield @ChefRush
00:33
albert_cancook
Рет қаралды 115 МЛН
MISS CIRCLE STUDENTS BULLY ME!
00:12
Andreas Eskander
Рет қаралды 20 МЛН
TOP 5 best practices to improve Flutter App Performance
4:10
AI with Flutter
Рет қаралды 1,4 М.
Top 10 Widgets every Flutter Developer should know!
10:18
HeyFlutter․com
Рет қаралды 35 М.
7. Best Practices for your Flutter Project
14:35
Flutter Explained
Рет қаралды 28 М.
Top 12 Flutter Tips & Tricks
9:32
Fireship
Рет қаралды 267 М.
Flutter Performance Tips for Fast Apps
9:12
Tadas Petra
Рет қаралды 19 М.
Flutter performance tips - Flutter in Focus
4:30
Flutter
Рет қаралды 146 М.
Flutter UI Tip 2: Staggered Grid View
5:42
Fun with Flutter
Рет қаралды 25 М.
Top 70 Flutter Tips, Widgets & Packages
16:22
Flutter Mapp
Рет қаралды 126 М.
A little girl was shy at her first ballet lesson #shorts
00:35
Fabiosa Animated
Рет қаралды 16 МЛН