Flutter DropdownMenu Widget

Flutter DropdownMenu Widget

Dhanraj Nilkanth

7 месяцев назад

637 Просмотров

#flutter #flutterdev
A dropdown menu that can be opened from a TextField. The selected menu item is displayed in that field.

This widget is used to help people make a choice from a menu and put the selected item into the text input field. People can also filter the list based on the text input or search one item in the menu list.

The menu is composed of a list of DropdownMenuEntrys. People can provide information, such as: label, leading icon or trailing icon for each entry. The TextField will be updated based on the selection from the menu entries. The text field will stay empty if the selected entry is disabled.

The dropdown menu can be traversed by pressing the up or down key. During the process, the corresponding item will be highlighted and the text field will be updated. Disabled items will be skipped during traversal.

The menu can be scrollable if not all items in the list are displayed at once.

Please subscribe to my channel to motivate me.
Channel Link: https://cutt.ly/kkhVx3s

Source Code:
BuyMeACoffee: https://www.buymeacoffee.com/dhanrajnilkanth

Connect with me on Other Social Media:
Instagram: https://www.instagram.com/passiveeverything/
Twitter: https://twitter.com/DhanrajNilkanth
LinkedIn: https://www.linkedin.com/in/dhanrajnilkanth-mobileappdev
Become Patreon: https://www.patreon.com/supportdhanraj

Тэги:

#flutter_dropdownmenu #dropdownmenu_widget #widgets #flutter_widget #flutter_tutorial #flutter #dhanraj_nilkanth #flutter_developers #flutter_widget_of_the_week #flutter_example
Ссылки и html тэги не поддерживаются


Комментарии: