Make Anything in Flutter using RenderObjects

  ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 16,610

Robert Brunhage

Robert Brunhage

ะšาฏะฝ ะฑาฑั€ั‹ะฝ

RenderObjects gives you the power to create anything in Flutter. Learning this you will get a deeper understanding and also a feeling that you can accomplish anything ๐Ÿ‘
Course to build a production-ready app ๐Ÿ‘‰ robertbrunhage.com/course
Full writeup: robertbrunhage.com
๐Ÿ‘‰ Have additional questions, join Discord: / discord
Want to support me?
โ™ฅ Patreon: / robertbrunhage
โ™ฅ BuyMeACoffee: buymeacoffee.com/robertbrunhage
โ™ฅ Paypal: paypal.me/robertbrunhage
ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท
You can find me on:
โ— Website: robertbrunhage.com
โ— Twitter: / robertbrunhage
โ— Discord: / discord
ยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยทยท
๐Ÿ˜Ž Subscribe: bit.ly/2SUyRhx
00:00 Overview
01:25 Creating a LeafRenderObjectWidget
02:35 RenderBox
03:30 Layout
04:50 Painting
11:34 Drag functionality

ะŸั–ะบั–ั€ะปะตั€: 46
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Sub to creativecreatorormaybenot: kzfaq.info/love/Df73A8sVgbYKX192SLMn1w Inspiration: medium.com/flutter-community/creating-a-flutter-widget-from-scratch-a9c01c47c630
@creativecreatorormaybenot3608
@creativecreatorormaybenot3608 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Such an awesome video and intro to RenderObjects! And much love for the mention โค๏ธ
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Got motivated by all your awesome work so, much deserved! And thank you!
@ayushchothe8785
@ayushchothe8785 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
This is what I was waiting for ๐Ÿฅณ
@rydmike
@rydmike 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Really nice to see a video on this topic. It is not a topic that has been covered a lot, so it is very welcome. One could make just a series on total custom widgets and painting in Flutter. However it is a bit niche, so the audience might be a bit limited. Appreciate that you took the time to make this content, got an idea for how to improve one of my custom paint widgets from it, some day when I have time... ๐Ÿ˜€๐Ÿ’™
@Ondal1
@Ondal1 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
This was really great Robert :)
@skorp5677
@skorp5677 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
It was awesome if you could make more examples of this, maybe driving deeper into what's going on behind the scenes and what all the methods, we have to overwrite do. Awesome video as always! ;)
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Noted, thanks!
@samgarg5228
@samgarg5228 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Finally !!!!!! Waiting for so long for that kind of video๐Ÿฅบ. Thank you so much sir๐Ÿ™‡๐Ÿปโ€โ™‚๏ธ
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Glad you liked it!
@FlutterMapp
@FlutterMapp 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Very well done!! Thank Robert!!! Peace!
@tech-andgar
@tech-andgar 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
๐Ÿคฏ Thank you for explain with process
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Glad it was helpful!
@ulysses3183
@ulysses3183 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Another great video! I have a better appreciation for what's going on behind the scenes now. It would be cool to see further render object use cases with low level customization of existing widgets
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Glad you liked it, writing it up!
@kayeltech1442
@kayeltech1442 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Well done. Superb Content.
@Aspiiire
@Aspiiire 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
This is a real tutorial, really cool thanks for sharing ๐Ÿ˜
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Youโ€™re welcome ๐Ÿ˜Š
@pembatamang8233
@pembatamang8233 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Wow this is great
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Glad you liked it!
@isyedaliraza
@isyedaliraza 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Hi thanks for sharing the knowledge. Keep it up bro โค๏ธ. Btw which font are you using on vs code?
@ykmnkmi
@ykmnkmi 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
After some experiments, you can port flutter to web by replacing RenderObject's with dart:html Node's: find & replace, litle refactor, update runApp and BuildOwner. and we have new web framework for dart. And there possibilities to write compiler for angulardart over RenderObject's for flutter. (sorry for english grammar)
@fille.imgnry
@fille.imgnry 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Great video. What would you say is the main benefits of creating this custom widget like a RenderObject, instead of building it using multiple already existing widgets? Would be interesting to measure the performance difference (if it has any real implications) and see if it would be easiter or harder to implement.
@nash9785
@nash9785 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Love this.
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Thanks Nash!
@abhilashchandran3126
@abhilashchandran3126 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Great introduction and motivated to dig into renderObjects. Kudos and keep it up. ๐Ÿ˜€ However at 5:07 I fail to understand how translate adjusts the canvas size. As per my understanding it only moves the canvas to the specified offset in the screen, right?.
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
You are correct, my mistake ๐Ÿ˜…
@iGhostr
@iGhostr 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
I liked the video even though it was discouraging ._. The drawing part is okay but all the other initial code is soo time consuming
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Agreed and most of the time it's not needed to do all of these things, that is why we have widgets! This is just if you want to do something very niche that you currently can not accomplish with widgets, or want extra control over something :)
@ahmedgames9335
@ahmedgames9335 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
I create some think like overly entry with stack an I do it but I have a question? , I have a list that I added to it the widget and when I will add one more it render the other width or ?! Or just render the last width that I added it ?
@faheemahmadofficial7701
@faheemahmadofficial7701 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Please do fyp like easy tutorials for FINAL year students who want to do flutter ๐Ÿƒ
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Do you have any examples of what you would like to see?
@gautam6223
@gautam6223 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Clones of popular apps
@faheemahmadofficial7701
@faheemahmadofficial7701 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
@@RobertBrunhage i want to build an app that helps a student.. manage his daily University life.. i mean fiest saving Time table and getting notifications prior 15 mins before a class for each class.. the app shows a nice interface for daily agenda and reminders a section of todo list and a section where he can store names Numbers of teachers etc
@faheemahmadofficial7701
@faheemahmadofficial7701 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
@Eucalypticus bro i want to complete my FYP project can you please maybe contact we could just do some chat on how to implement it?
@RandalLSchwartz
@RandalLSchwartz 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
You might have simplified some of the Offset calcs with Offset.lerp(). That looks like a slick thing, and is also available for size, rotations, and all sorts of draw stuff.
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Thanks for the feedback Randal, and for sure! I am probably one of the worst people at math so didn't think of it ๐Ÿ˜‚
@RandalLSchwartz
@RandalLSchwartz 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
@@RobertBrunhage Also, consider things like aSize.bottomLeft(Offset.zero) to get the "lower left" of your drawing area, similar with .bottomRight. And you can replace .zero with (0, -20) to get a point 20px above that. Or use .bottomCenter to get midway across, and centerLeft to get midway up the left side. Lots of math done for you!
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
@@RandalLSchwartz Oh this is sweet, will probably use more of that now haha
2 ะฐะน ะฑาฑั€ั‹ะฝ
What is advantage over simply using CustomPainter?
@ibrahimshehuibrahim918
@ibrahimshehuibrahim918 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Great
@RobertBrunhage
@RobertBrunhage 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Thanks!
@thefamousdjx
@thefamousdjx 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
Thats good but you havent answered or explained why anyone would want to do this. This can also be achieved with just the normal widgets yes?
@MPRGyanStudio888
@MPRGyanStudio888 2 ะถั‹ะป ะฑาฑั€ั‹ะฝ
How to add nvidia render animation in flutter apps
@krokenstiv8777
@krokenstiv8777 ะ–ั‹ะป ะฑาฑั€ั‹ะฝ
can you explain for MultiChildRenderObjectWidget?
@AnimeWorld-pf9qy
@AnimeWorld-pf9qy 3 ะถั‹ะป ะฑาฑั€ั‹ะฝ
hi, thanks for posting such a great content , can you restructure the entire channel playlists ? many vids are not in a playlist and i wanna download all of them , not one by one , using a software to download entire playlist is very helpful , also it would be a shame as you are one of the State Management Masters and can't manage your videos :P just kidding :D just keep that in mind :)
My 10 Most Favorite Flutter Widgets
11:48
Robert Brunhage
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 39 ะœ.
Rendering - Flutter Deep Dive
8:28
Tadas Petra
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 10 ะœ.
Looks realistic #tiktok
00:22
ะะฝะฐัั‚ะฐัะธั ะขะฐั€ะฐัะพะฒะฐ
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 106 ะœะ›ะ
Clowns abuse children#Short #Officer Rabbit #angel
00:51
ๅ…”ๅญ่ญฆๅฎ˜
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 78 ะœะ›ะ
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 82 ะœะ›ะ
Jumping off balcony pulls her tooth! ๐Ÿซฃ๐Ÿฆท
01:00
Justin Flom
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 13 ะœะ›ะ
Learn Flutter Hooks and Maximize Your Code Reuse
10:36
Robert Brunhage
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 61 ะœ.
10 Flutter Tips to Be More Productive
13:25
Robert Brunhage
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 65 ะœ.
Flutter: Find Widget's Size & Position Using Render Object
9:31
Codepur
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 17 ะœ.
Learn Flutter Life Cycle In 10 Minutes
10:02
Robert Brunhage
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 73 ะœ.
Flutter Testing For Beginners - The Ultimate Guide
13:05
Robert Brunhage
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 59 ะœ.
NeoVim With Flutter is AWESOME
10:56
Robert Brunhage
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 17 ะœ.
Flutter UI Tip 3: Popup Card
12:00
Fun with Flutter
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 73 ะœ.
The Ultimate Flutter Setup 2021
12:43
Robert Brunhage
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 22 ะœ.
Complex Animations in Flutter using Rive | Flare
15:44
FilledStacks
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 224 ะœ.
Looks realistic #tiktok
00:22
ะะฝะฐัั‚ะฐัะธั ะขะฐั€ะฐัะพะฒะฐ
ะ ะตั‚ า›ะฐั€ะฐะปะดั‹ 106 ะœะ›ะ