Flutter Architecture for Beginners (اردو) - Part 3.5 [++Feature, Initial Params, empty constructor]

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

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

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

    Waleed Bhai first of all greate series i always wanted to follow best practise and are teaching it very well. Well i dont understand why u need to pass initial params as a page params when we are using state also it will be difficut when we use navigation with named route so instead of setting param to in initstate and setting that param value tot cubit why dont we set that cubit value in the of tap it self

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

      You are right. We are going to eliminate the whole initializing of initial params from the page all along. The initial params will be directly set into the cubit. I am going to refactor it in my next videos. I did it just for beginners to keep up so that they don’t have to digest a lot of complex stuff at once.

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

      @@_technotherapist Yeah after watching part 4 now i understand why u did that