Open zhiyuanFan opened 3 months ago
Version: multi_dropdown: ^3.0.0
I found something strange, here is my code. Blank appeared on the top and bottom of items. It's only appeared on my device, not simulator. What should I do to fix it?
MultiDropdown<CustomerTag>( items: items, controller: _controller, enabled: true, searchEnabled: false, chipDecoration: ChipDecoration( labelStyle: TextStyle( color: WColors.white, fontSize: WDimens.tsLabel), backgroundColor: WColors.primaryColor, wrap: true, runSpacing: 2, spacing: 10, ), fieldDecoration: FieldDecoration( hintText: '请选择', hintStyle: TextStyle( color: WColors.hintTextColor, fontSize: WDimens.tsLabel), showClearIcon: true, border: const OutlineInputBorder( borderSide: BorderSide(width: 0, color: Colors.transparent)), focusedBorder: const OutlineInputBorder( borderSide: BorderSide(width: 0, color: Colors.transparent)), ), dropdownDecoration: const DropdownDecoration( marginTop: 0, maxHeight: 500, ), dropdownItemDecoration: DropdownItemDecoration( selectedIcon: const Icon(Icons.check_box, color: WColors.primaryColor), disabledIcon: Icon(Icons.lock, color: Colors.grey.shade300), ), onSelectionChange: (selectedItems) { leadsInfo.appCustomerTagList = selectedItems .map((item) => {"tagName": item.tagName, "id": item.id}) .toList(); }, ),
has this been fixed am getting a grey widget in device not simulator
Version: multi_dropdown: ^3.0.0
I found something strange, here is my code. Blank appeared on the top and bottom of items. It's only appeared on my device, not simulator. What should I do to fix it?