searchable_dropdown icon indicating copy to clipboard operation
searchable_dropdown copied to clipboard

List items not visible in dark and light theme

Open MalayAgrawal opened this issue 2 years ago • 1 comments

List items that are displayed as selected items are not visible.

When the app is in the dark theme containers appear as white when in the light they appear as black and have no visible text.

                            DropdownSearch<String>.multiSelection(
                              dropdownDecoratorProps: DropDownDecoratorProps(
                                  dropdownSearchDecoration: InputDecoration(
                                      hintText: " + Add Participant",
                                      floatingLabelStyle:
                                          TextStyle(color: Colors.red))),
                              items: participent_list,
                              popupProps: PopupPropsMultiSelection.menu(
                                  showSearchBox: true),
                            ),

Screenshot_1656446698

MalayAgrawal avatar Jun 28 '22 20:06 MalayAgrawal

same issue color is not override with Theme or I am also unable to assign dynamic color as I want

sanchitverma168 avatar Jul 05 '22 06:07 sanchitverma168

i tested the dark mode and it works well, it seems that you overrided the itemBuilder ... and setted the text to white ... image

if not please paste a reproductible example to analyse the issue.

salim-lachdhaf avatar Sep 22 '22 16:09 salim-lachdhaf

Hi @salim-lachdhaf, here's a reproducible example for broken dark mode with modalBottomSheet popup: https://github.com/AlexBurdu/dropdown_dark_mode_broken_modal

Please let me know if you feel it's unrelated to this issue and I can create a new one.

AlexBurdu avatar Sep 24 '22 14:09 AlexBurdu

@AlexBurdu thanks for the example, i will check it.

salim-lachdhaf avatar Sep 24 '22 18:09 salim-lachdhaf