Like the short tutorials concise and to the point. However, for this tut got error for the buildmenuitem - "Local variable 'buildMenuItem' can't be referenced before it is declared". Can you clarify
Thank You Tanoj Sai! Follow this link: stackoverflow.com/questions/63780527/how-to-create-a-dropdown-in-flutter-from-firebase-to-save-document-id I hope you will get your answer 🙂
Once we select a dropdown item, the next time we open drop-down menu the selected item is in focus, how can we avoid that? I want first item to be in focus every time i click on dropdown menu
Johannes can you help me with something I’m making a chat app and when I press the screen keyboard goes down and when pressed on textfield it goes up which is not my issue. My issue is when I compare with WhatsApp the way the keyboard and textfield goes down is so smooth and fluid but in flutter app there is a delay it’s like keyboard goes down faster than the text field goes down and in between this delay there is a space formed which shows the background scaffold color and this to me looks very bad could you look into it and help me with it ?
Hi Johannes, great video. My use case is that the items that can be selected in the dropdown menu should be loaded from Firestore. For the selected item, below the dropdown menu I want to render data from a subcollection. So in my case you can select a topic in the dropdown menu and when it is selected all the news for that topic should be loaded using a Stream/Streambuilder. How would you achieve that? Should I pull the topics in initstate or should I also pull them using a streambuilder?
@@HeyFlutter Hi Johannes. Thank you for your quick response. I guess, my question is more Firebase-Related. In the Stackoverflow-Issue the person just implemented multiple Dropdown-menus. My question relates to a dropdown menu that contains data from a Firestore-Collection. When choosing one of the values in the dropdown menu Items should be rendered on my screen from that chosen values sub collection. Example: Newspaper-App: The dropdown menu contains values like: Politics, Economics, Environment...(These values are documents in a Firestore-Collection called Newspapertopics) and when choosing lets say "Economics", there are all the economical articles rendered from that documents sub collection. How should I load the Newspapertopics and how the articles for that topic? Should I use Streambuilders for the topics and articles or Futurebuilders? :)
@@tammodirksen1408 well hello i think i have an Idea you have to make the data that comes from firestore in A list put it in a method with try and catch for possible errors after assign the list to the dropdown Item and then in onchanged you write your code your future call and data call make a future method to read data that you wish to display from firestore and load it on the screen The important is to call the method on (onChanged : methodbname();) I hope you get it
Thank You @Cutepets00! Follow this link: stackoverflow.com/questions/55644213/centering-the-selected-value-of-a-dropdownbutton I hope you will get your answer 🙂
Hi brother in apps when users use the app they dont know correctly what to do so make a video that how to add animations like scroll down,click here...and so on
Thank You Shirish Aryal! Follow this link: stackoverflow.com/questions/59859034/how-to-open-dropdown-dialog-below-dropdownbutton-like-spinner-in-flutter I hope you will get your answer 🙂
thanks for the video , but what if i want to display the dropdown menu just under the text , so the menu text is still visible while the menu is shown beneath it.
@@HeyFlutter thanks man , not replying my inquiry got me more persistent on finding how to do it. for anybody out there wants to make this right .... use the "Offset" property and assign the propper dx,dy to make the popupmenu or the dropdownlist be wherever you want .
@@shwetaarbune3850 You can change the whole code to stateful widget by clicking on the line that says extends statelesswidget and press ctrl + . and you can then change the code to stateful
I used to follow your channel for Flutter tutorials, but now it seems chaotic and lacks organization. There are no playlists, and I can't find your videos. Did you sell the channel?
Thank you, @Neil_09! 🙂. We are sorry for that, but we always learn and try to improve ourselves, your kind suggestion will help in that regard. Let us know what should we improve in our channel? Your suggestion will be highly appreciated.