Flutter Reusable Custom Widgets | Reuse Buttons & Components

Sdílet
Vložit
  • čas přidán 14. 11. 2021
  • You will learn how to build flutter reusable custom buttons, components and style. It also works as reusable functions.
    Find the complete tutorial here with the ui and network request
    • Flutter Master Class T...
  • Věda a technologie

Komentáře • 47

  • @dbestech
    @dbestech  Před 2 lety

    Get a food delivery e-commerce app
    www.dbestech.com/tutorials/flutter-food-delivery-app-e-commerce-for-ios-and-android

  • @chrise202
    @chrise202 Před rokem +4

    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

  • @davidhadwin3566
    @davidhadwin3566 Před 2 lety

    The variables that I have instantiated are not being recognized as variables in my code.

  • @drnil3827
    @drnil3827 Před 2 lety +3

    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!

  • @fortechknowledge8172
    @fortechknowledge8172 Před rokem

    thank you so much for all you provide , Allah award you more ameen!

  • @ankansamanta4533
    @ankansamanta4533 Před 2 lety

    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

  • @thaliaamargianou7870
    @thaliaamargianou7870 Před 2 lety

    Always useful tutorials..! Thanks..

  • @ariefyusufwinata5603
    @ariefyusufwinata5603 Před rokem

    Thanks a lot bro, I think the tutorial is most useful.

  • @palashchandradas2622
    @palashchandradas2622 Před rokem

    Thank you so much for good understanding.

  • @damadary3010
    @damadary3010 Před 2 lety +1

    Walikumassalam war wab . Very useful tutorial. Ma sha ALLAH.

  • @muhammadafzal237
    @muhammadafzal237 Před 2 lety +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  Před 2 lety +1

      Inside the forloop you can do MaterialPageRoute and pass the id inside it. and go to a new page with the id.

    • @muhammadafzal237
      @muhammadafzal237 Před 2 lety +1

      @@dbestech Make a video on this.

    • @HalaMOA
      @HalaMOA Před 4 měsíci

      hello, have you resolved the problem?

  • @nOvibes834
    @nOvibes834 Před 2 lety

    Awesome need some crash course to start out flutterrr ,

  • @nourhamada1409
    @nourhamada1409 Před rokem

    Alaykum Al Salam, Great Tutorial 👏🏻

  • @mracipayam
    @mracipayam Před 2 lety +1

    Your explanations are ,even not natives in english, understandable easily.

    • @dbestech
      @dbestech  Před 2 lety

      You mean you can understand easily?

    • @MuhammadFaizan-xq2sh
      @MuhammadFaizan-xq2sh Před 2 lety

      Yes, for not natives in English, everyone can understand easily 🙂

  • @fayazahmad-df3re
    @fayazahmad-df3re Před 2 lety

    W salam.. Great tutorials always..Thanks

  • @roshedulalamraju7936
    @roshedulalamraju7936 Před 10 měsíci

    Dose this make any impact on performance in case of many custom widgets??

  • @Fsociety07
    @Fsociety07 Před 2 lety

    thanks so much useful tutorial

  • @azmo_
    @azmo_ Před 2 lety

    What about individual functions when button is pressed? That's the actual interesting part

    • @dbestech
      @dbestech  Před 2 lety

      Hi Azmo, when the buttons are pressed, you can go to a different route.

    • @azmo_
      @azmo_ Před 2 lety

      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  Před 2 lety

      @@azmo_ Yes, you can. Just add a new parameter in the class.

  • @talhariazx786
    @talhariazx786 Před 8 měsíci

    Wa ʿalaykumu s-salam (وَعَلَيْكُم ٱلسَّلَامُ)

  • @rayanarabikatbi8958
    @rayanarabikatbi8958 Před 2 lety

    وعليكم السلام
    You are awsome

  • @aeeweb6464
    @aeeweb6464 Před rokem

    I did like because u are Muslim bro 🌸🌸

  • @tanoryjakaperdana1419
    @tanoryjakaperdana1419 Před 25 dny

    Wa'alaykumsalam Warrohmatullohi Wabarokatuh my brother..

  • @yunismaruf
    @yunismaruf Před 2 lety

    Thanks,

  • @jonathanboisvert102
    @jonathanboisvert102 Před 2 lety

    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