dropdownbutton Questions
10
How can I change the height of a DropdownButton in flutter.
I have tried to use Padding and SizedBox but none is realy working.
SizedBox just increases the container size while the DropdownButton i...
Elizabethelizabethan asked 10/9, 2020 at 14:52
24
Solved
I am trying to create a dropdown button in Flutter. I am getting a List from my database then I pass the list to my dropdownButton everything works the data is shown as intended but when I choose a...
Saxe asked 3/3, 2020 at 15:6
6
Solved
I have a dropdown button which works fine, but when I try to set a default value it will fail with the following error:
'package:flutter/src/material/dropdown.dart': Failed assertion: line 620 ...
Moment asked 10/9, 2019 at 11:12
3
Solved
I want to reset value at DropdownButtonFormField, value is changed to null, but DropdownButtonFormField doesn't change. Where is the problem? If I have used DropdownButton it was changing value pro...
Twittery asked 27/4, 2020 at 16:11
3
Solved
I'm in the process of learning GetX state management and stumble upon the DropdownButton widget. How do I update the selected value with the selected value cannot be observed. Here is my DropdownBu...
Barghest asked 10/3, 2021 at 2:25
3
Solved
Im trying to implement a DropdownButton that can separate specific items from each other with a title (see desired output on image below, the titles are in green)
Like in the example I would lik...
Orectic asked 18/12, 2019 at 14:30
2
Solved
In the following example the DrowdownButton contains a grey background (defined by the container box decoration) with white text. The menu items therefore all have white text by default. However th...
Carbonous asked 20/11, 2019 at 8:23
2
Solved
Im working on a flutter project where i pass an array of objects (List> array) to the stream-builder from my bloc. If i print the object it prints nicely, but when i try to map them out in the Drop...
Emmalineemmalyn asked 25/6, 2019 at 15:28
1
I want to Customise DropDownButton, so that it does not render the content of DropdownItem. Instead it should render my Custom layout/widget before and after selecting an item from DropDown.
In sim...
Elainaelaine asked 28/2, 2018 at 7:31
2
Solved
DropdownButton Value does not update even after selecting different items.
If default value is null then error message is shown and if I pass any default value (not null) then it never changes to...
Siva asked 4/1, 2019 at 19:13
1
Solved
[dart] Invalid constant value.
[dart] Arguments of a constant creation must be constant expressions.
I want to make DropdownButton , but errorText only accept constant variable.
[dart] Invalid co...
Qnp asked 9/10, 2018 at 9:49
1
© 2022 - 2024 — McMap. All rights reserved.