Flutter • Firebase • BLoC Tutorial #10 - Profile Picture

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

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

  • @algorithmo134
    @algorithmo134 3 หลายเดือนก่อน

    I subscribed! Good video! Can't wait for more awesome tutorial!

  • @faridahmadov5991
    @faridahmadov5991 10 หลายเดือนก่อน

    Thank you so much sir.Your explaination is so clear.
    Make a project on authentication with Restful Api and bloc pattern 👍🏼🙏🏼

  • @TaiNguyen-qn7on
    @TaiNguyen-qn7on 6 หลายเดือนก่อน +1

    I got an error
    if(state is UploadPictureSuccess) {
    setState(() {
    context.read().state.user!.picture = state.userImage; ---> this line
    });
    The error is:
    'picture' can't be used as a setter because it's final.
    Try finding a different setter, or making 'picture' non-final.

  • @saratm9973
    @saratm9973 5 หลายเดือนก่อน

    One doubt while closing an app or signing off from the user account, is the uploaded image gets changed or not?

  • @Cem_Yasar
    @Cem_Yasar 8 หลายเดือนก่อน

    i have got an error
    image: DecorationImage(
    image: NetworkImage(
    state.user!.picture!, -----> this line
    the error is _TypeError (Null check operator used on a null value)
    I can't solve the error

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

    Why do we have to create new bloc [update_user_info_block] instead of using my_user_block?

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

      I'll make an entire video explaining why but in the big lines, because you don't want you MyUserState to change because the UI displays something if the state is "success"

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

      @@Romain_Girou but what about adding UserImageChangeSuccess as another state to MyUserState. It won't activate e.g. GetUserSuccess. It is too much states and ruin clean architecture?

  • @fadhil_khusnul
    @fadhil_khusnul 11 หลายเดือนก่อน

    why apps closed, when i want to pickimage and cropimage ?, i'm using android devices

    • @Romain_Girou
      @Romain_Girou  11 หลายเดือนก่อน

      Perhaps you didn’t setup the package correctly !

    • @AshwiniBhatBhat
      @AshwiniBhatBhat 8 หลายเดือนก่อน

      @@Romain_Girou I also facing same issue