Flutter Themes Crash Course

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ธ.ค. 2024
  • This tutorial goes through how to setup and use custom themes in Flutter. We cover how to set default styling, call on the custom app theme color pallet, and more.
    If you have any questions or are needing help with your Flutter project, join the Bleyl Dev discord and connect with other Flutter developers to help answer your questions!
    Source Code: github.com/Bob...
    ✅ Discord: / discord
    ✅ Twitter: / bleyldev
    ✅ Facebook: / bleyldev
    ✅ Medium: / bleyldev
    ✅ The Flutter Shop: teespring.com/...
    I’m also big on investing, claim an extra free stock with WeBull using my referral link: act.webull.com...
    #flutter #flutterdev #theming
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 30

  • @itsahmed-dev
    @itsahmed-dev 2 ปีที่แล้ว +1

    Toggling light/dark theme without any third-party state management. That's pretty cool. I keep coming back to this tutorial for this reason.

  • @satoshi-f2i
    @satoshi-f2i 2 ปีที่แล้ว +2

    It is really good! This helped me to get a concept of themes. Thank you!

  • @increasedw
    @increasedw 2 ปีที่แล้ว +1

    Thanks. Enjoyed this tutorial.

  • @barziyassin1
    @barziyassin1 2 ปีที่แล้ว

    Thanku for the great job Bleyl, worked successfully.

  • @sametsahin10
    @sametsahin10 3 ปีที่แล้ว +3

    Pretty good explanation. Thanks. Would love to see more tutorials from you. ✌🏻

    • @BleylDev
      @BleylDev  3 ปีที่แล้ว

      I appreciate that! Thanks Samet!

  • @nikhilvashisht2810222
    @nikhilvashisht2810222 3 ปีที่แล้ว +1

    Helped me alot. Thanks!

  • @skeptical7188
    @skeptical7188 3 ปีที่แล้ว +3

    Very helpful thanks

  • @collinsbrobbey2132
    @collinsbrobbey2132 3 ปีที่แล้ว

    Perfectly delivered. Thanks

  • @올챙이개발자
    @올챙이개발자 3 ปีที่แล้ว +1

    thanks a lot ! Can I change the color of the container's box decoration border by theme?

  • @sroDrakso
    @sroDrakso 2 ปีที่แล้ว +1

    Thanks!

    • @BleylDev
      @BleylDev  2 ปีที่แล้ว

      No problem!

  • @creativityLabs
    @creativityLabs 3 ปีที่แล้ว +1

    Awesome. Thanks.

  • @marco_di
    @marco_di 3 ปีที่แล้ว +1

    Very well explained ... how can you save the last theme setting so that the app doesn't go back to the dark theme after a restart?

    • @BleylDev
      @BleylDev  3 ปีที่แล้ว +3

      Store a value either locally or attached to the user and place some logic to check that value and set theme on app startup

  • @moazelsawaf2000
    @moazelsawaf2000 3 ปีที่แล้ว +1

    Thanks ❤

  • @aaronsoto5711
    @aaronsoto5711 3 ปีที่แล้ว +1

    Simple and awesome

  • @codeopold8241
    @codeopold8241 3 ปีที่แล้ว

    How can I save the state if it's dark or lught Mode so that it doesnt reset to default if i restart the app? For expample using Shared Preferences. Can sombod tell me how to implement it?

  • @anthonyviniciusdossantosmu3062
    @anthonyviniciusdossantosmu3062 3 ปีที่แล้ว

    But all my states are remade when the theme is updated, how do I avoid that?

  •  3 ปีที่แล้ว +1

    Thanks for the clear video! What editor are you using? Thanks!

  • @taosif7
    @taosif7 2 ปีที่แล้ว

    What's more efficient, doing it with (valuelistenablebuilder and stateless widget) or with (setState and stateful widget)?

  • @giannifed
    @giannifed 3 ปีที่แล้ว

    thank you

  • @reenoindo
    @reenoindo 3 ปีที่แล้ว

    How can I use it if I'm using stateless ?

    • @onyarianto1823
      @onyarianto1823 3 ปีที่แล้ว

      u can use future builder maybe.

    • @marflage
      @marflage 3 ปีที่แล้ว +1

      You could use any state management solution, e.g Provider, GetX, etc.

  • @fluttersteps
    @fluttersteps 2 ปีที่แล้ว

    i like it code size bro realy my laptop is 1000 pixel but i can see your code thank you.

  • @blessingajala4670
    @blessingajala4670 2 ปีที่แล้ว

    I love you..lol

  • @armagangok5257
    @armagangok5257 3 ปีที่แล้ว

    provider version is more important to be honest