How To Create Dropdown Menu Item List in Flutter (Hindi) Flutter Tutorial || DropdownButton

Поділитися
Вставка
  • Опубліковано 5 вер 2024
  • #flutter #InventorCode
    Source Code Link
    drive.google.c...
    ****Now Connect with me on social media****
    Instagram
    / b.l.kumawat_
    Linkedin
    in.linkedin.co...
    Facebook
    / banwarilal.kumawat.900
    Twitter
    Ba...
    Flutter Tutorial
    Flutter tutorial in Hindi
    FOR MORE VIDEOS
    Subscribe the channel and hit the Like Button
    For any issue you can WhatsApp on 7014333352
    For More Video Visit InventorCode Now..!!

КОМЕНТАРІ • 22

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

    This is all about Flutter Drop-down Button in very deep explanation...
    Thankyou so much brother very nice explanation🙏🏼🙏🏼🙏🏼

  • @anmolkumawat2046
    @anmolkumawat2046 2 роки тому +3

    Great work sir... 🤟

  • @charmisolanki2891
    @charmisolanki2891 9 місяців тому +1

    Can you tell me How do I make the dropdown stay open until a user selects an item, instead of dismissing when they touch outside of it?

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

    excellent sir dropdownbutton with firebase

  • @roylife3339
    @roylife3339 2 роки тому +3

    👌👌👌👌👌

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

    thanks brother ❤

  • @sradhawebcreations
    @sradhawebcreations 3 місяці тому +1

    how to print Text not value in dropdown list ..

    • @InventorCode
      @InventorCode  2 місяці тому +1

      what do you mean..?

    • @sradhawebcreations
      @sradhawebcreations 2 місяці тому +1

      @@InventorCode it save value note display text

    • @InventorCode
      @InventorCode  2 місяці тому +1

      @@sradhawebcreations for that instead of data['value'] pass data['title'] in value
      like this
      value: data['title']
      then you will get save displayed text I hope it will fix your issue.

    • @sradhawebcreations
      @sradhawebcreations 2 місяці тому

      @@InventorCode thank you sir

    • @sradhawebcreations
      @sradhawebcreations 2 місяці тому

      @@InventorCode where I add data['title'] ?
      List dropDownListServiceData = [
      {"title": "Website Designing", "value": "1"},
      {"title": "Moblie App ", "value": "2"},
      {"title": "Digital Marketing", "value": "3"},
      {"title": "Social Media Marketing", "value": "4"},
      {"title": "Web Portal", "value": "5"},
      {"title": "e-Commerce Website", "value": "6"},
      {"title": "LOGO Design", "value": "7"},
      {"title": "Certification", "value": "8"},
      {"title": "MSME Services", "value": "9"},
      {"title": "Quality Certificate", "value": "10"},
      ];
      DropdownButtonHideUnderline(
      child: DropdownButton(
      value: selectedCourseValue,
      isDense: true,
      isExpanded: true,
      menuMaxHeight: 350,
      items: [
      const DropdownMenuItem(
      child: Text(
      "Select Services",
      ),
      value: ""),
      ...dropDownListServiceData
      .map((e) {
      return DropdownMenuItem(
      child: Text(e['title']), value: e['value']);
      }).toList(),
      ],
      onChanged: (newValue) {
      setState(
      () {
      selectedCourseValue =newValue!;
      print(selectedCourseValue);
      },
      );

      },

      ),
      ),
      when I save in api by button click I pass (selectedCourseValue) for it show text valute but store number
      ApiRoutes().postData(
      Name: _nameController.text,
      Phone: _NumberController.text,
      Email: _emailController.text,
      Address: _AddressController.text,
      Service: selectedCourseValue,
      Details: _DetailsController.text,
      Status: date,
      //Status: "Active",
      );

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

    design pattern .. state management tutorial

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

      I will do it in my upcoming videos

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

    Sir plz make a dependent dropdown with API 🙏... plz sir meri job chli jaygi..

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

      Ok will do that in upcoming videos 😊

  • @user-uc7nb5ml6j
    @user-uc7nb5ml6j Рік тому +1

    sir API kaise call karani hai yeh bhi batado please

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

      check this
      ua-cam.com/video/vRwun_h-yJA/v-deo.html