Part- 13 Flutter fetch Firebase Realtime Database List with Stream Builder || CRUD Operation

Поділитися
Вставка
  • Опубліковано 7 січ 2025

КОМЕНТАРІ • 52

  • @pratiklukhi402
    @pratiklukhi402 2 роки тому +4

    Make full playlist on making responsive UI please sir

  • @asibera
    @asibera 2 роки тому +1

    Thanks alot brother.. I can't thank you enough

  • @zepidarmawantambunan428
    @zepidarmawantambunan428 2 роки тому +1

    thank you bro. greetings from indonesian

  • @swagatbaruah522
    @swagatbaruah522 2 роки тому +1

    Brother... If its possible could please explain...
    the part where we used the Map.
    Can't we fetch the data without the Map ?
    Well.. I'm a little confused.. by its use...

  • @dhruvrajani5028
    @dhruvrajani5028 2 роки тому +1

    in stream builder if we remove all the data then it will show error (type "null" is not a subtype of type "Map ") . so how can I solve this?

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      you need to handle the data for null like if their is no data handle it

  • @talhasaysss
    @talhasaysss Рік тому

    sir why the values in the both methods is not showing on the same index on the UI

  • @syedarsalan7338
    @syedarsalan7338 2 роки тому +2

    Please also do make a video that how to connect UI of e-commerce app with firebase,

    • @ZarakTekken8
      @ZarakTekken8 2 роки тому +1

      Same here 🤗

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому +1

      Already taught in second video of this playlist.

    • @ZarakTekken8
      @ZarakTekken8 2 роки тому

      @@thetechbrotherss Actually his mean to say about make complete e-commerce app project on firebase

  • @foodxcooking4448
    @foodxcooking4448 Рік тому

    asif nahi agr ham na stream builder ma different data show kar wana hu mtlb hamara pass do chiz huti hain list tile ma title or subtitle agr hum different values show kar wani hu

    • @thetechbrotherss
      @thetechbrotherss  Рік тому

      ap is tarhan krwa skty ho na

    • @foodxcooking4448
      @foodxcooking4448 Рік тому

      @@thetechbrotherss hamna firestore sa data fetch kar liya hai ab Sara data Store document ka ander store hai apni apni id ka andr aab hum na Oss ko front pa bhi show karna hai or back pa bhi
      front ka mtlb jab uss element par click Karyn tu next page par la jay ab list tile ma tu title ka hi option hota hai aab hum aik time par aik hi chiz show kar wa sakhta hain aab ma na different chizayn show kar wani hai jasa address ho gaya phone number ho gaya title ho gaya back par plz help kar na

    • @foodxcooking4448
      @foodxcooking4448 Рік тому

      @@thetechbrotherss bro aap Skype use kar ta ho

  • @cheswinraj9472
    @cheswinraj9472 10 місяців тому

    its not displaying ...since we are using a scrollable
    inside another ..since expanded is used no error is showimg ..what will i do?

    • @thetechbrotherss
      @thetechbrotherss  10 місяців тому

      i have handle everything please watch video carefully

  • @alicezuberg3233
    @alicezuberg3233 2 роки тому +1

    can you retrieve image URL from the realtime database? Make a video please

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      go checkout the images video upload video in upcoming videos have taught the method.

  • @kno2843
    @kno2843 Рік тому +1

    Holy moly, it took me forever to got this running :(
    Thanks for the video!!!
    I still do not understand why it is necessary to write "as dynamic" for the map but that helped me to fix it!
    Thanks!

    • @thetechbrotherss
      @thetechbrotherss  Рік тому +2

      Dynamic is a variable that set it’s data type during run time

  • @chiragmakwana9830
    @chiragmakwana9830 2 роки тому +1

    brother i got an error, type 'List' is not a subtype of type 'Map'. What's the Solution for this?

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому +1

      Please watch video carefully i have taught the solution brother

  • @thushankalana4940
    @thushankalana4940 Рік тому

    Sir, How to pass realtime data base values into List🙂

  • @kennethyousuf5258
    @kennethyousuf5258 2 роки тому +1

    Sir why are we using list.clear()

  • @shreyaspatil7862
    @shreyaspatil7862 2 роки тому +1

    This method is not working for me it's redlines on snapshot

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      Restart the project and make sure you imported correct Pacakges

  • @Tech-Passion
    @Tech-Passion Рік тому

    Bro I followed your whole process and data displayed Successfully.. But when i clicked on this tab again to display the data.. it is showing error: Bad State Stream has already been listened... Kindly tell the solution. Thanks

  • @foodxcooking4448
    @foodxcooking4448 Рік тому

    bro aap image ko firebase sa fetch karna bata dain ga with stream builder plz

    • @thetechbrotherss
      @thetechbrotherss  Рік тому

      Check video in this playlist where i taught how to upload and store in database

    • @foodxcooking4448
      @foodxcooking4448 Рік тому

      @@thetechbrotherss image ka phi wa hin par bata ya ho gaya

  • @erickmartinez7138
    @erickmartinez7138 2 роки тому

    Please, is it possible to enable subtitles in yours videos?

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      I'm not sure about it if there is any auto generated

    • @erickmartinez7138
      @erickmartinez7138 2 роки тому

      @@thetechbrotherss There is an option in youtube when you record your video.

  • @praneshpyarashrestha3
    @praneshpyarashrestha3 2 роки тому +1

    thanks brother

  • @kailanirochellla2006
    @kailanirochellla2006 Рік тому

    solution of the ""Map "" is
    Map? map = snapshot.data!.snapshot.value as Map?;
    if (map == null) {
    return Center(child: Text('No data'));
    }
    List list = map.values.toList();
    return ListView.builder(
    itemCount: list.length,
    itemBuilder: (context, index) {
    return ListTile(
    title: Text(list[index].toString()),
    );
    },
    );

    • @thetechbrotherss
      @thetechbrotherss  Рік тому

      ok

    • @kailanirochellla2006
      @kailanirochellla2006 11 місяців тому +1

      @@thetechbrotherss mai India se hu but agar kabhi Pakistan aana hoga to to vo ana sirf Aapki vajah se hoga for meet the my favourite youtuber >>>>> Asif

  • @abdullahranjha6700
    @abdullahranjha6700 2 роки тому

    Bro I have an error can you help me plzz.
    I already watched your video 3 times but I don't know how to solve this error
    Expanded(
    child: StreamBuilder(
    stream: ref.onValue,
    builder: (context, AsyncSnapshot snapshot) {
    if (!snapshot.hasData) {
    return CircularProgressIndicator();
    } else {
    Map map =
    snapshot.data!.snapshot.value as dynamic;
    List list = [];
    list.clear();
    list = map.values.toList();
    return ListView.builder(
    itemCount: snapshot.data!.snapshot.children.length,
    itemBuilder: (context, index) {
    return ListTile(
    title: Text(List[index]['title']),

    );

    });
    }
    },
    )),
    Error 👇
    : Error: The operator '[]' isn't defined for the class 'Type'.
    lib/post_screen.dart:62
    - 'Type' is from 'dart:core'.
    Try correcting the operator to an existing operator, or defining a '[]' operator.
    return ListTile(title: Text(List[list]['title']));
    ^

    • @thetechbrotherss
      @thetechbrotherss  2 роки тому

      Text k under List ko list kr do

    • @Tech-Passion
      @Tech-Passion Рік тому

      End mein jo statement ha list linkhna ha apne List likha ha