What a great explanation of a custom painter. It’s a lot less scary than I thought. I’m looking forward to your next tutorial. 💙
@hershreddy91543 жыл бұрын
What a great, clear explanation! You really demystified how to do custom paints within the widget tree. I feel like building a few custom widgets myself now!
@SuperDeclarative3 жыл бұрын
You can do it!
@rydmike4 жыл бұрын
Excellent tutorial, very well structured and perfect execution. I really liked the idea of using the simple concept of a page indicator, yet with a complex dot position and showing how to build it with a custom painter, animated builder and page controller. Overall one of the best Flutter video tutorials that includes custom painter. Storing some of the intermediate steps in the dot position calculations would perhaps have made it even easier to follow along and it could also be helpful when you look at the code later and try to figure out what is going on 🤔 Overall, superb tutorial and pro level produced video! 👍😎
@HimanshuSharma-ut1kd4 жыл бұрын
Tried this on Web and it works like a gem! Thank you
@HashemRC4 жыл бұрын
Really super declarative as you use proper words to declare the case
@HashemRC4 жыл бұрын
👏 respect for dot radius. means paying attention to details, and output quality
@darkbum_19844 жыл бұрын
Nice tutorial I check thist out for sure. Thanks Matt.
@Earle204 жыл бұрын
Well done , easy to follow
@TrendingCodes4 жыл бұрын
I like that clamp method 😉 if I was writing a code may be instead of using clamp I could used some if conditions to check the values of indicators hahah.... Thanks Matt 💙 I need to Buy your Cap ASAP so that I can use it in my videos Waiting.......
@SuperDeclarative4 жыл бұрын
The cap is tough :) It's an unusual color so it's a little tough to source, and the stitching requires a local provider, which isn't cheap. But my plan is to figure out how to get them to you.
@sweet-sinner4 жыл бұрын
25:05 What do you mean by "..We're basing our calculation on the vertical center"? Unless I use "center.dy +- radius" for top and bottom, the indicator is misplaced. Although this doesn't happen unless you specify the height of the widget with a SizedBox or something.
@SuperDeclarative4 жыл бұрын
That's a good question. I'm not sure why it worked. I think you're right that "center.dy - dotRadius" and "center.dy + dotRadius" are the correct values.
@prabhunathtiwary98524 жыл бұрын
Hey, Matt...why you didn't using yellow mic...:)
@SuperDeclarative4 жыл бұрын
Maybe someday ;)
@ismailkoyuncu55184 жыл бұрын
Thanks for sharing and great work.. God bless you.. 🌱
@clever_dude2 жыл бұрын
You should mention the CustomPainter int the title
@clever_dude2 жыл бұрын
Not too bed 💙
@인이-l4z3 жыл бұрын
I need help too. What is the implementation of WidgetWorkshopScaffold?
@SerdarPolat214 жыл бұрын
Great video to understand Flutter CustomPainter and clamping. 👏🏻👏🏻👏🏻 By the way; how can I play mp3 files (in device storage, not assets) with Flutter? Can you share a video about this topic? Thank you... 👍🏻👍🏻👍🏻
@RajileshPanoli4 жыл бұрын
Great! Thanks for the video.
@aytunch4 жыл бұрын
Hi Matt, this widget looks very cool. I have a question. If we were to make these type of custom widgets for our apps, should we use them like you did or should we write a controller for these widgets in order to use them more freely? Let's say if we wanted to convert this widget in to a package in pub.dev, we would need to implement a controller pattern right? I see lot's of packages using this architecture but not a single tutorial on how to write it from scratch. Can you please make a follow up video to one of your widget workshops to turn them into a package with controller logic(with callbacks to UI)
@SuperDeclarative4 жыл бұрын
Hi. This widget is perfectly usable in this form. Controllers are definitely not required, and in very simple, narrow situations, controllers will just get in the way. I've used this same widget in my own forms :) But I'll think about a future video that includes a controller.
@mtux4 жыл бұрын
Very thanks, is great!!!
@kyl7774 жыл бұрын
umm, I love ur tutorial, which is really informative. But, how to implement the WidgetWorkshopScaffold? I cant understand it.
@HashemRC4 жыл бұрын
Thanks for quality tutorials, may you post the tutorial source code?
@abhilashchandran31264 жыл бұрын
That was an awesome explanation from concept to execution. Thank you.. I like the way you explain each concept and code it to the point. One of the best flutter video out their using custompaint widget. fillType for path was new knowledge for me. Would love to hear more about paths and overlaying paths. Maybe blendmodes etc.. Great content... Thank you once again..
@AthorNZ4 жыл бұрын
Random question - what keyboard are you using?
@SuperDeclarative4 жыл бұрын
Apple wireless keyboard
@_rubs4 жыл бұрын
Thanks for sharing the knowledge, just my humble advice, include the word flutter on the title and in the screenshot for the vid, when you see a lot of dev videos on KZbin you start getting selective andb if there's no term about whar you are looking for, either you miss a view for the video and a potential subscriber, and the people miss a really nice piece of information skipping your videos.
@SuperDeclarative4 жыл бұрын
Thanks, I'll give that a try!
@Ematolah4 жыл бұрын
what the heck is that widget workshop scaffold im too new here and jeez i tried everything y y i saw the names not that dumb just new
@el72844 жыл бұрын
I don't think I have seen as much yellow in a single year as I have in this video. Kudos on the instruction though