[4K] [Null Safety] FLUTTER 2 - 31. Automatic Sign In using Bloc & Go Router

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

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

  • @SupriandiAzpar
    @SupriandiAzpar 2 года назад +2

    Kenapa tidak langsung main di db firestore saja mas ?, Melanjutkan auth part 4

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

      Firestore udah dibahas koq di nomor2 sebelumnya.. CRUD dengan Firestore..

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

    Ko, bisa bantu buatkan contoh tutorial buat change theme aplikasi dari Backend, hehehe thanks very much

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

      Itu datanya (warna, dsb) disimpan dibackend.. Nanti di awal aplikasi (di main), bisa ambil terlebih dahulu data lewat API, setelah itu theme yg dipakai tinggal disesuaikan dgn data yg diperoleh dari API tadi..

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

      @@ericodarmawan ok ko.. thanks.. very much

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

    pak saya pakai go router, tiap hot reload kenapa error navigasi sebelumnya tidak ada ya?

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

    my bloc listener is not working it says that, there are no gorouter context in the context provided..

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

    Ko kalau mau show dialog atau snackbar gtu ga boleh dalem bloc ya ?

    • @ericodarmawan
      @ericodarmawan  Год назад +1

      Ga boleh.. BLoC = Bussiness Logic Component.. Jadi utk logic aja.. Bukan utk urusan UI.. Urudan UI ya kodingannya harus di bagian UI..

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

      @@ericodarmawan makasih infonya Ko. Saya juga nemu sesuatu yg aneh dengan bloc + equatable. Ketika saya hit event blocnya berkali-kali untuk check indicatornya showing atau tidak, tapi cuma muncul sekali, dan spam call event berikutnya ga muncul sama sekali progress indicatornya. pernah ngalami sprti itu ga Ko?

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

      @@makisetakashi UI akan direfresh kalau state yg baru merupakan object yg baru juga.. Jadi pastikan state yg baru adalah object yg baru.. Bukan object lama yg diubah2 isinya..

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

    routerNeglect itu untuk apa yaa ko?

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

    Pak kalo initialroutenya bukan login tapi splash gimana pak

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

      Splash screen jangan jadi initial route.. Itu utk halaman utama yg di depan.. Splash screen bisa lihat di sini.. Mgkn skrg ada perubahan syntax, tapi kira2 seperti ini..
      ruclips.net/video/eYzsZLMyrac/видео.html

    • @skankbaplank8854
      @skankbaplank8854 Год назад +1

      @@ericodarmawan oke makasih pak 🙏🙏🤙

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

    repository??

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

      Hi.. I don't provide any source code for this tutorial because I explain it from the beginning.. But if you're looking the starting source code for other videos, you can try to find it here: github.com/ericodarmawanh/initial-sourcecode

  • @keithbacalso9433
    @keithbacalso9433 Год назад +1

    send github repo

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

    I get an error "Unhandled Exception: 'package:go_router/src/router.dart': Failed assertion: line 280 pos 12: 'inherited != null': No GoRouter found in context" from the listener ... any idea ?

    • @ymts_vladyslav3707
      @ymts_vladyslav3707 Год назад +3

      for those who experience the same problem, you need to call not context.goNamed(), because in this case router doesn`t exist in context, but router.goNamed() (use router directly, not from context)