Great Tutorial! I needed a custom functionality the default Material Dropdown didn't provide. The first 15 minutes of your video alone helped me to build my own custom Widget. Thanks a lot!
It was great that you demonstrated use of factory method, but what I did was removed border radius from the child of Material widget and instead take ClipRRect as child of Material and gave border radius to it. That also worked. No need to write factory logic.
@@techieblossom hello friend your video is awesome but can you make video about making nested popup menu(like navbar in website) i think this idea would be great
Loved your video. However, can you publish it as a working widget as of now most of the values are hardcoded and the select function is also not working or so, If you feel it's alright, I can make the changes and publish it as a handy plugin on pub dev.
hello again, this thread on stackoverflow helped me solve the problem : stackoverflow.com/questions/59301800/how-to-hide-an-overlay-with-tap-somewhere-on-the-screen-with-flutter
First of all, thank you very much, it helped a lot. I used your video to make a dropdown, with dynamic count of items. My Problem is to get the selected value back, do you have a solution for me?
If I want to add more drop-down for example CALL to ACTION1 and CALL TO ACTION2 and CALL TO ACTION3 what should I do...button stretch itself while one is pressed
Hi Techie Blossom, Thank you for the Tutorial. I have an issue. 1) I am using this on screen_2. 2) I am Opening the DropDown and keeping it open. 3) I am pressing "back" button and moving to Screen_1. 4) The DropDown is still open. Tried overriding "dispose()" like this: @override void dispose() { floatingDropdown.remove(); super.dispose(); } This way, I get rid off the DropDown in Screen_1 but it's delayed by a second approx. I mean, the dropdown should be disposed off before moving to screen_1 but with this solution, the dropdown is still there for a second after the Screen_2 is gone. How to solve this issue?
Hey bro, I love your video, that's awesome!!! But have some question, how can i add some animation in OverlayEntery, I tried it on my project bu it didn't work, can u give some suggest to me???
I downloaded your project from github. I haven't changed any of it. But it gives an error in "widget.text.uppercase ()" part. I can only write normal text and it does not detect the item you selected. How can I solve this?
Great work man, I have a question, how do i remove the overlay dropdown when i tap elsewhere other than the same place, say a blank space, i want the dropdown to be removed, how do i do that
I have created some series of videos, but not created videos like crash courses and learn in one day like those things. ru-vid.com/group/PL342JVRNQxEDE8_NA_BCA8sG9W9NtW0oF ru-vid.com/group/PL342JVRNQxEBo_AnWeaoH6VqiEpRaHyGI ru-vid.com/group/PL342JVRNQxEC0Iz5J5qlKcrLRni5cU1jo
had to use '-' sign infront of xposition and yPosition to work, OverlayEntry _createDropDownMenu() { return OverlayEntry(builder: (context) { return Positioned( left: -(xPosition), width: width, top: -(yPosition) + height, height: 4 * height + 40, child: Container( color: Colors.red, height: 200, )); }); } any problem with that if used in other cases?
@@techieblossom output from Debug Console without negative sign: I/flutter (28230): height: 60.0 I/flutter (28230): width: 319.5293998850261 I/flutter (28230): xPosition: -52.0 I/flutter (28230): yPosition: -68.0 If i remove negative sign, floating drop down menu moves towards top left corner of the screen.
Sir can you please tell me any package to search from one station to another station path. if I have set of stations with me, I have to search path from one station to another, do I have to use graph or any package is there do that
@@techieblossom Thankyou sir for replying but by stations I means static data which not exist on map exactly, consider a stations like A, B, C, D, E, F all connected now search path from A to E where A to B is one graph and D to F one and D is common vertex in this case how to implement source to destination search
Thanks for the video. I'm trying to build a dropdownmenu that changes its menu items according to another input. I managed to change the list that loads into the dropdownbutton widget, but don't know how to make it refreshes itself. Can you give me some advices?
If you are unable to do let me know, I can update that in GitHub. I created video to let people know how you can create custom dropdown. Didn't considering adding selection events.
hello my brother you can tell me how can add multi text file to my project ? i added data.txt to folder in assests/ after that i need syntax to call text to my button please help. thanks.
@@techieblossom im actually have multi txt file in folder assests/exampl/data.txt and i assort in pubspec.yaml. and i have multi buttons, for that when presses the button one data.txt view and for ether buttons do it , how can do it? i don't write syntax. thanks if you have idea.