Flutter UI - The Navigation Drawer

Поделиться
HTML-код
  • Опубликовано: 25 окт 2024

Комментарии • 38

  • @shazzadhossain5609
    @shazzadhossain5609 11 месяцев назад

    You are really a great teacher. Learning from you is easy and effective. Love to get some more videos or suggestions from you.

  • @EthioFkir
    @EthioFkir Год назад +2

    I don't know why this video couldn't get at least 100k view per year....very easy ,simple and detail titorial...
    Thanks sir❤

  • @johnatkins8012
    @johnatkins8012 Год назад

    Very good explanation. Easy to follow and good quality. I’m just starting out on my flutter adventure and this has helped.

  • @IamHariJags
    @IamHariJags 10 месяцев назад +1

    why is stateless widget is used in line 144 . I guess stateful could have been used . Your opinions??

  • @mikewski4410
    @mikewski4410 3 года назад +1

    Really help alot, I tried other channels but not full understand like you, professor

  • @yt_sricharanp
    @yt_sricharanp 3 года назад +2

    Thanks a lot. Very neatly explained !!

  • @venkatakhadri8998
    @venkatakhadri8998 2 года назад

    Once again, a great video. Thanks a lot

  • @ifeanyipaul4015
    @ifeanyipaul4015 3 года назад +1

    Thanks a lot. This was really helpful.

  • @Jan123.
    @Jan123. 2 года назад

    Great video. Thank you so much!

  • @AndyIvan74
    @AndyIvan74 3 года назад +2

    Hi Johan. Both in my version and your version of the code the 'onTap' Function varible in the 'AppDrawerTile' class returns an error at:
    line 219: onTap: onTap,
    The error reads:
    "The argument type 'Function' can't be assigned to the parameter type 'void Function()?'."
    Do you have any advise?

    • @JohanJurrius
      @JohanJurrius  2 года назад +7

      Try declaring as VoidCallback instead of Function. Let me know if it worked.

    • @kharapov
      @kharapov 2 года назад +1

      @@JohanJurrius It worked for me :D

    • @belalshaykh8250
      @belalshaykh8250 Год назад

      declare it like this
      final function() onTap ;

  • @xeooox
    @xeooox 2 года назад

    You are the best!

  • @hredaysagar888
    @hredaysagar888 3 года назад +1

    Very good tutorial

  • @nabukodonosor777
    @nabukodonosor777 2 года назад

    How can we, instead of showing that text "inbox", "starred" etc, link to another page we made, for example that 'Upgrade to premium' thing we made earlier? Can we put that whole code in another dart file and link to it? How that works?

  • @brongoding
    @brongoding 3 года назад +1

    Nicee tutorial

  • @ericberg2131
    @ericberg2131 3 года назад +2

    in defaults.dart file, the line of code below throws an error:
    static final Color drawerItemSelectedColor = Colors.blue[700];
    A value of type 'Color?' can't be assigned to a variable of type 'Color'
    Remove the [700] and it works fine.

    • @JohanJurrius
      @JohanJurrius  3 года назад +1

      You can also try Colors.blue.shade700;

    • @ericberg2131
      @ericberg2131 3 года назад +1

      @@JohanJurrius I noticed you're using Flutter 2.05 and I'm using Flutter 2.21. There seems to have been some changes: '@required' becomes simply 'required' and 'final Function onTap;' becomes 'final VoidCallback onTap;'

    • @ericberg2131
      @ericberg2131 3 года назад

      @@JohanJurrius Thanks! 'Colors.blue.shade700;' works as long as you don't put parentheses on the end.

    • @JohanJurrius
      @JohanJurrius  3 года назад

      Sorry, tried ro remember without an editor on front of me. Glad it works. Will edit my reply.

    • @JohanJurrius
      @JohanJurrius  3 года назад

      Thanks for the comment. Yes with default projects now being null safe, we need to use null safety guidelines. All future videos will have them. Regards

  • @hredaysagar7232
    @hredaysagar7232 2 года назад

    great video .thank you

  • @achieverstv8244
    @achieverstv8244 2 года назад

    I have a problem with the this.index and this. OnTap..I followed what was done..but it's get flagged red

    • @volodymyr9731
      @volodymyr9731 2 года назад

      Try this for a function: final void Function() onTap;

  • @namchu8244
    @namchu8244 2 года назад

    Thank for video

  • @achieverstv8244
    @achieverstv8244 2 года назад

    I get an error when I use use the this keyword

  • @tayyibahu5279
    @tayyibahu5279 2 года назад

    how do i save the state of one of the screens?

    • @JohanJurrius
      @JohanJurrius  2 года назад

      Check my Provider videos for state management. You can also save some data using Shared Preferences (also in my playlist) if you want data to be there when the app closes and opens again.

  • @mariafalcao8537
    @mariafalcao8537 2 года назад

    👏😀

  • @hredaysagar888
    @hredaysagar888 3 года назад

    Can I have the source code, please???

    • @JohanJurrius
      @JohanJurrius  3 года назад

      Placed it in the video description for you

    • @hredaysagar888
      @hredaysagar888 3 года назад

      @@JohanJurrius Thanks a lot brother .. You are so kind. God might live you long..

  • @nonamed56
    @nonamed56 2 года назад

    18:40

  • @apdayn
    @apdayn 2 года назад

    hi Johan I really love you so match the easy way you teach me how learn flutter fast., but Johan do not forget to use SafeArea Widget. love