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..
@@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?
@@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..
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
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
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 ?
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)
Kenapa tidak langsung main di db firestore saja mas ?, Melanjutkan auth part 4
Firestore udah dibahas koq di nomor2 sebelumnya.. CRUD dengan Firestore..
Ko, bisa bantu buatkan contoh tutorial buat change theme aplikasi dari Backend, hehehe thanks very much
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..
@@ericodarmawan ok ko.. thanks.. very much
pak saya pakai go router, tiap hot reload kenapa error navigasi sebelumnya tidak ada ya?
my bloc listener is not working it says that, there are no gorouter context in the context provided..
Ko kalau mau show dialog atau snackbar gtu ga boleh dalem bloc ya ?
Ga boleh.. BLoC = Bussiness Logic Component.. Jadi utk logic aja.. Bukan utk urusan UI.. Urudan UI ya kodingannya harus di bagian UI..
@@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?
@@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..
routerNeglect itu untuk apa yaa ko?
Saya jelasin di video nomor 30
Pak kalo initialroutenya bukan login tapi splash gimana pak
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
@@ericodarmawan oke makasih pak 🙏🙏🤙
repository??
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
send github repo
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 ?
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)