Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Border color in dropdownDecoration #167

Open
DavideRinaldi1 opened this issue Oct 14, 2024 · 1 comment
Open

Border color in dropdownDecoration #167

DavideRinaldi1 opened this issue Oct 14, 2024 · 1 comment

Comments

@DavideRinaldi1
Copy link

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

@Yogesh070
Copy link

Yogesh070 commented Oct 21, 2024

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,
                                ),
                              ),
                            ),

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants