#flutter #widget_of_the_day
DropdownMenu
a text field that displays a dropdown menu of suggested options. It's perfect for forms where you want to give users a set of predefined choices but in a more modern and flexible way than its predecessor.
it is easy to implement and it has a built-in search, where users can type to filter long lists.
to read more about it and find the code here !
DropdownMenu
a text field that displays a dropdown menu of suggested options. It's perfect for forms where you want to give users a set of predefined choices but in a more modern and flexible way than its predecessor.
it is easy to implement and it has a built-in search, where users can type to filter long lists.
to read more about it and find the code here !
#flutter #widget_of_the_day
SegmentedButton
This button is benifical for when you're providing the user with a minimal number of options, It can be configured for single-selection (like a radio button group) or multi-selection (like a checkbox group).
It easily supports a disabled state to show non-selectable options, The main components are the list of ButtonSegment widgets, and a selection state that manages which options are chosen.
you can read more about it here
SegmentedButton
This button is benifical for when you're providing the user with a minimal number of options, It can be configured for single-selection (like a radio button group) or multi-selection (like a checkbox group).
It easily supports a disabled state to show non-selectable options, The main components are the list of ButtonSegment widgets, and a selection state that manages which options are chosen.
you can read more about it here