oi-narendra / multiselect-dropdown

Streamlined Flutter widget for versatile multi-selection with extensive customization.
https://pub.dev/packages/multi_dropdown
GNU General Public License v3.0
73 stars 84 forks source link

Border color in dropdownDecoration #167

Open DavideRinaldi1 opened 1 month ago

DavideRinaldi1 commented 1 month ago

Hi, it seems to me that there is no option to decorate the border of the dropdown. Am I wrong?

Yogesh070 commented 1 month ago

I guess this is what you are looking for. This creates rounded border with red color to select dropdown items. Add fieldDecoration property to MultiDropdown widget. @DavideRinaldi1

         fieldDecoration: FieldDecoration(
                              hintText: '-- Select type --',
                              border: OutlineInputBorder(
                                borderRadius: BorderRadius.circular(4),
                                borderSide: const BorderSide(
                                  color: Colors.red,
                                ),
                              ),
                            ),