Flutter Reusable Custom Widgets | Reuse Buttons & Components

  Рет қаралды 26,759

dbestech

dbestech

Күн бұрын

Пікірлер: 47
@drnil3827
@drnil3827 2 жыл бұрын
Assalamu Aleikum, you can use a getter to check whether the icon is not null instead of adding an extra param. I think better to make the text string nullable and add a check so one of them should have value and throw exception if not. Good explanation, keep going!
@dbestech
@dbestech 2 жыл бұрын
Thanks for the tip!
@chrise202
@chrise202 2 жыл бұрын
Not sure seems incomplete, what about general theme variables, default button styles, paddings, margins, scaling to different devices. There must be a general theme defined somewhere and you should default to that so the consumer of these buttons defines minimum properties
@dbestech
@dbestech 3 жыл бұрын
Get a food delivery e-commerce app www.dbestech.com/tutorials/flutter-food-delivery-app-e-commerce-for-ios-and-android
@fortechknowledge8172
@fortechknowledge8172 2 жыл бұрын
thank you so much for all you provide , Allah award you more ameen!
@dbestech
@dbestech 2 жыл бұрын
Thank you too
@mracipayam
@mracipayam 3 жыл бұрын
Your explanations are ,even not natives in english, understandable easily.
@dbestech
@dbestech 3 жыл бұрын
You mean you can understand easily?
@MuhammadFaizan-xq2sh
@MuhammadFaizan-xq2sh 3 жыл бұрын
Yes, for not natives in English, everyone can understand easily 🙂
@damadary3010
@damadary3010 3 жыл бұрын
Walikumassalam war wab . Very useful tutorial. Ma sha ALLAH.
@dbestech
@dbestech 3 жыл бұрын
Thank you brother.
@muhammadafzal237
@muhammadafzal237 2 жыл бұрын
You forgot the necessary thing which I need badly, the thing is that each button must have onPressed event. In my case, each button should navigate to a different page. Please tell me how to do it?
@dbestech
@dbestech 2 жыл бұрын
Inside the forloop you can do MaterialPageRoute and pass the id inside it. and go to a new page with the id.
@muhammadafzal237
@muhammadafzal237 2 жыл бұрын
@@dbestech Make a video on this.
@HalaMOA
@HalaMOA 11 ай бұрын
hello, have you resolved the problem?
@aeeweb6464
@aeeweb6464 Жыл бұрын
I did like because u are Muslim bro 🌸🌸
@ariefyusufwinata5603
@ariefyusufwinata5603 2 жыл бұрын
Thanks a lot bro, I think the tutorial is most useful.
@dbestech
@dbestech 2 жыл бұрын
You are welcome
@roshedulalamraju7936
@roshedulalamraju7936 Жыл бұрын
Dose this make any impact on performance in case of many custom widgets??
@dbestech
@dbestech Жыл бұрын
No, it won't.
@nOvibes834
@nOvibes834 2 жыл бұрын
Awesome need some crash course to start out flutterrr ,
@dbestech
@dbestech 2 жыл бұрын
I do have
@nourhamada1409
@nourhamada1409 2 жыл бұрын
Alaykum Al Salam, Great Tutorial 👏🏻
@dbestech
@dbestech 2 жыл бұрын
Most welcome
@ankansamanta4533
@ankansamanta4533 2 жыл бұрын
how can i create custom container..... i mean i have an input field and user put what ever the number..... lets user put 5....and then 5 container automatically create
@talhariazx786
@talhariazx786 Жыл бұрын
Wa ʿalaykumu s-salam (وَعَلَيْكُم ٱلسَّلَامُ)
@azmo_
@azmo_ 3 жыл бұрын
What about individual functions when button is pressed? That's the actual interesting part
@dbestech
@dbestech 3 жыл бұрын
Hi Azmo, when the buttons are pressed, you can go to a different route.
@azmo_
@azmo_ 3 жыл бұрын
I know but how to implement it? Give the function as a parameter like background color? Something to consider or just like I said
@dbestech
@dbestech 3 жыл бұрын
@@azmo_ Yes, you can. Just add a new parameter in the class.
@fayyazahmad_pk
@fayyazahmad_pk 3 жыл бұрын
W salam.. Great tutorials always..Thanks
@dbestech
@dbestech 3 жыл бұрын
Thank you too
@thaliaamargianou7870
@thaliaamargianou7870 3 жыл бұрын
Always useful tutorials..! Thanks..
@dbestech
@dbestech 3 жыл бұрын
Glad you like them!
@davidhadwin3566
@davidhadwin3566 2 жыл бұрын
The variables that I have instantiated are not being recognized as variables in my code.
@tanoryjakaperdana1419
@tanoryjakaperdana1419 7 ай бұрын
Wa'alaykumsalam Warrohmatullohi Wabarokatuh my brother..
@dbestech
@dbestech 7 ай бұрын
Allah bless you
@tanoryjakaperdana1419
@tanoryjakaperdana1419 7 ай бұрын
@@dbestech Aamiin.. you too brother
@Fsociety07
@Fsociety07 2 жыл бұрын
thanks so much useful tutorial
@dbestech
@dbestech 2 жыл бұрын
You're welcome!
@sinethushan
@sinethushan 5 ай бұрын
this worked🔥
@dbestech
@dbestech 5 ай бұрын
Thanks, Learn about our excellent course Flutter Multi Vendor App (includes chat) www.dbestech.com/tutorials/flutter-multi-vendor-app Flutter Single Vendor App www.dbestech.com/tutorials/flutter-food-delivery-app-e-commerce-for-ios-and-android Riverpod E-commerce app stunning UI www.dbestech.com/tutorials/riverpod-folder-structure-clean-architecture
@rayanarabikatbi8958
@rayanarabikatbi8958 3 жыл бұрын
وعليكم السلام You are awsome
@dbestech
@dbestech 3 жыл бұрын
Thank you Rayan
@yunismaruf
@yunismaruf 3 жыл бұрын
Thanks,
@dbestech
@dbestech 3 жыл бұрын
Welcome
@jonathanboisvert102
@jonathanboisvert102 2 жыл бұрын
most of the popular tutorials share the code link on GitHub so we don't have to scrub through the video to search for what we want
2.13 - Custom Reusable Widgets in Flutter - Bonus Video - 2023
14:02
Top 35 Flutter Widgets
29:29
Flutter Mapp
Рет қаралды 337 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН
1% vs 100% #beatbox #tiktok
01:10
BeatboxJCOP
Рет қаралды 67 МЛН
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Building custom fragment shaders - Flutter Build Show
20:36
Top 30 Flutter Tips and Tricks
6:50
Flutter Mapp
Рет қаралды 584 М.
Creating a Custom Widget in Flutter - Complete Tutorial
26:08
WsCube Tech
Рет қаралды 46 М.
Flutter's Multi-Child Layout Algorithm
53:01
Flutter Community
Рет қаралды 2,9 М.
Mastering Layouts in FlutterFlow
10:30
FlutterFlow
Рет қаралды 40 М.
Top 70 Flutter Tips, Widgets & Packages
16:22
Flutter Mapp
Рет қаралды 132 М.
Custom Widget in Flutter
8:02
CodeX
Рет қаралды 2,5 М.
Every React Concept Explained in 12 Minutes
11:53
Code Bootcamp
Рет қаралды 957 М.
Cat mode and a glass of water #family #humor #fun
00:22
Kotiki_Z
Рет қаралды 42 МЛН