Switch Themes with Flutter Bloc - Dynamic Theming Tutorial (Dark & Light Theme)

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ธ.ค. 2024

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

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

    Great video. Always let me learn a lot. Thanks!! Please keep up. 💪

  • @ThEGeEeK
    @ThEGeEeK 4 ปีที่แล้ว

    The best of the best explanation. Love you bro.

  • @intelxd
    @intelxd 4 ปีที่แล้ว +2

    amazing content, I like how clear your explanations are... If I could recommend something, I'd like to see some more advanced UI builds, not only in terms of different widgets, but rather in terms of modern looks.
    Thanks for sharing this content!

  • @Hicham_SaAh
    @Hicham_SaAh 5 ปีที่แล้ว

    awesome and clear , thank you so much , you makes me love flutter

  • @sabujmahbubul5581
    @sabujmahbubul5581 5 ปีที่แล้ว

    You are Awesome i must say👍👍👍hope you will upload videos more frequently

    • @ResoCoder
      @ResoCoder  5 ปีที่แล้ว +1

      Of course I will! Working on something big right now.

  • @harikrishnang33
    @harikrishnang33 4 ปีที่แล้ว +2

    Can you explain it for latest bloc and equatable?

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

    Awsome tutorial but your code needs to an update.
    Does not work with current version of Flutter UI.

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

    Hello @Reso Coder,
    This tutorial seems to be old as the bloc now no longer creates 4 files and instead does 3. and the management seems to be changed as well. Can you please create a new video about the newer one ?

    • @nivellemendiola5039
      @nivellemendiola5039 4 ปีที่แล้ว

      check his flutter bloc crash course. i just learn it yesterday and it work like charm

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

      @Juan Sin Miedo im not sure if i still have it on my github account

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

    Thanks for your video, and please and how would it be with MiltiBlocProvider inside the Main class?.

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

    I don' t know why, but theme not change :/

  • @amaromem1
    @amaromem1 5 ปีที่แล้ว

    Hi, your channel and explanations are so simple and yet so complete, I think is the best programming channel in TH-cam.
    Have you ever done a tutorial for getting notifications from FCM when phone is in Doze/ Standby/Idle state?
    I think is not possible to achieve..

  • @ran0100
    @ran0100 ปีที่แล้ว

    Hi!
    Thank you!
    Have new version of this because its not works :(

  • @alvin3171997
    @alvin3171997 5 ปีที่แล้ว

    Hey ResoCoder, awesome tutorial as always! Could you make a video on flutter dynamic widget package? It uses Json file to dynamically build flutter widgets

  • @RobertWildling
    @RobertWildling 5 ปีที่แล้ว

    ResoCoder, this is a very nice tutorial and puts knowledge from earlier tutorials into another practical use case! Thank you very much!!!
    Can you please let us know, which icon theme in VSCode you use? I have the material icons activated, but the bloc folders will not turn yellow as they do in your setup... Thank you!

    • @ResoCoder
      @ResoCoder  5 ปีที่แล้ว +1

      I use the very extension you have. You can associate your own folder names with predefined icons in the settings - check the docs on the extension's repo.

  • @sokheang-khun
    @sokheang-khun 5 ปีที่แล้ว

    Can you do splash screen for both Android and iOS?

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

    Man i could not follow this as of the latest March 2020 there is a new "part of" that the auto block creates and the block.dart is removed please could you do an up to date version of this

  • @MoAdel92
    @MoAdel92 4 ปีที่แล้ว

    can i follow this tutorial with provider rather than bloc??

  • @samirdesigner3324
    @samirdesigner3324 5 ปีที่แล้ว

    thanks
    if make about change language app how do this? is very good

  • @yooscripts5947
    @yooscripts5947 4 ปีที่แล้ว

    hello, is it possible to do navigation in flutter with bloc ?

  • @SahharYoucef
    @SahharYoucef 5 ปีที่แล้ว +2

    nice video , but i think ChangeNotifier would be faster and less coded

    • @narcodico
      @narcodico 5 ปีที่แล้ว

      True

    • @ResoCoder
      @ResoCoder  5 ปีที่แล้ว +5

      Maybe yes, once you get going with Bloc though, it's easier to do everything using that pattern.

    • @narcodico
      @narcodico 5 ปีที่แล้ว

      BLoC is a cool pattern but simply overkill for this feature. But a nice showcase of the pattern nonetheless. Really like your work man :)

    • @SahharYoucef
      @SahharYoucef 5 ปีที่แล้ว

      Sincerely, i use both provider and bloc. I like bloc, it give me more abilities to manage states 'yield'.

    • @miklosnemeth8566
      @miklosnemeth8566 5 ปีที่แล้ว

      @@ResoCoder I fully agree, Mr Angelov made a brilliant job of making the architecture of his package so clean and straightforward, consistent a complete. A big thank you that you have shown this package. I was experimenting with the Provider package, too, but, honestly, flutter_block is a lot easier and more reliable to use. Reactive UI programming is really challenging, and not really a fun; with flutter_block however, it is a lot more straightforward. Actually, the plain old setState when smartly used with a nice architecture is more than enough for most situations. But, this flutter_block is really awesome for medium to more feature rich business applications.

  • @richardamare3575
    @richardamare3575 5 ปีที่แล้ว

    what is the name of this system?

  • @sokheang-khun
    @sokheang-khun 5 ปีที่แล้ว

    How did you do that at 22:34?

    • @ResoCoder
      @ResoCoder  5 ปีที่แล้ว +1

      CTRL + .

    • @sokheang-khun
      @sokheang-khun 5 ปีที่แล้ว

      Thank for very kind of you.

  • @abanahmed4683
    @abanahmed4683 4 ปีที่แล้ว

    😍

  • @el4040
    @el4040 4 ปีที่แล้ว +1

    BlocProvider.of(context).dispatch(ThemeChanged(theme: itemAppTheme)); dispatch method does not exist flutter_bloc: ^6.1.1 solved : BlocProvider.of(context)
    .add(ThemeChanged(theme: itemAppTheme));

  • @ThEGeEeK
    @ThEGeEeK 4 ปีที่แล้ว

    How to persist the theme in every app launch.