All Questions
360 questions
0
votes
2
answers
45
views
Flutter setState Not Rebuilding DropdownSearch with Lazy Loading
I am using DropdownSearch with lazy loading inside a modal bottom sheet in Flutter. The list of items is fetched using Bloc (LocationMasterCubit), and I am handling infinite scrolling to load more ...
0
votes
0
answers
33
views
Flutter TypeAheadField suggestions filtered by prior dropdown selection
I have an app that has a dropdownbutton and a TypeAheadField. I want the TypeAheadField to filter suggestions based on the selection from the dropdownbutton. This works fine when a selection is made ...
1
vote
0
answers
33
views
Dropdown textfield which can accept custom input using flutter dropdown_textfield package
I am trying to create e dropdown textfield which can accept a custom input and add it to its dropdown history. For that dropdown_textfield package comes in use. I manage to create the actual textfield ...
0
votes
1
answer
55
views
Searching in dropdownButton2 in flutter is not working in release mode
I have a DropdownButton2 widget in which searching is there based on 2 parts: a number before a space and some text after the space in the "child" of DropdownMenuItem. The searching is ...
1
vote
0
answers
38
views
Flutter dropdown not working on some IOS devices
I've used DropDown to select store from available store list which was working fine on android devices and also worked when i tested on iphone xs and ipads.
But on some latest ios devices i notice ...
0
votes
1
answer
37
views
I'm trying to create my own DropDownSearch widget in flutter but cannot set width for the CompositedTransformFollower
// thêm mới drop tự làm
class MyDropDown extends StatefulWidget {
final List<DanhMucDoiTuongModel> list;
final String label;
final TextEditingController controller;
final String? ...
0
votes
0
answers
17
views
Simulator won't show dropdown with FormBuilderDropdown
VS Code is showing the FormBuilderDropdown with a red highlight, but no error. And when I run it on the ios simulator, it freezes the simulator but doesn't crash it. Here's a screenshot of the code ...
2
votes
1
answer
87
views
Flutter Dropdown button form field
In my DropdownButtonFormField2 I have a validator that cannot customize the padding of the error widget with the validator assigned. So is there any way by which I can customize the padding of the ...
0
votes
1
answer
49
views
How to update text in an Flutter DropDownButton [duplicate]
I wanted to make a Dropdownbutton, where you could choose between two chategorys(Income or Expence) but with what i made, it only shows the defult state of the dropdown. If I try to click on Income to ...
0
votes
1
answer
72
views
How to Expand Dropdown Width to Full Screen and Open It Below the Button in Flutter?
Question:
I'm trying to create a DropdownButton in Flutter that expands to take up the full width of the screen when clicked, but currently, it only expands based on the width of the button. ...
0
votes
1
answer
37
views
customer name in dropdownsearch pkge shows first 20 names at first i need if word is searched it needs to be searchin api and retrievename dynamically
Future<List<ProductModel>> getcustomer(String filter, BuildContext context) async {
print('Searching with filter: $filter'); // Debugging line
final data = Provider.of<...
0
votes
2
answers
62
views
How to show DropdownButton's menu on TextField's onTap()
I am doing to do app as a practice, so I have some TextField widgets, one of them is to show my dropdown list when pressed on TextField. I understand that I should use some onTap() or GestureDetector, ...
0
votes
2
answers
137
views
How to change the text of the "OK" button of the popup that displays the dropdown_search package in Flutter
How to change the text of the "OK" button of the popup that shows the dropdown_search package in Flutter, in Multi-selection mode.
See image
DropdownSearch<String>.multiSelection(
...
0
votes
1
answer
140
views
How to overlay a menu on top of a DropdownMenu?
I'm trying to display a custom menu that overlays directly on top of a DropdownMenu in Flutter, but the menu is not appearing in the desired position. What's the best approach to achieve this overlay ...
2
votes
2
answers
72
views
How can I contain expanded DropdownButtonFormField better?
Because of some requirements, I need to support big text size on my app. And because of that I'm having a bit of issue with a DropdownButtonFormField that contains long text. I was able to fix the ...