This Package lets you make customized drodown without any hassle. Just pass the list and selected value and you're done. You can add styling and decorate easily. For More info read the docs below.
Features
Add this package to your flutter app to:
- to add dropdown easyly
- to make it customize without long code
- to make search functionality in one to two lines of code
- and many more things
Usage
CustomDropDown(
hintText: 'Please select',
list: <String>['A', 'B', 'C', 'D']
.map((String value) {
return DropdownMenuItem<String>(
value: value,
child: Text(value),
);
}).toList(),
selectedValue: values,
onChange: (val) {
})