Open abhihasabe opened 4 years ago
Probably you defined doneButton
property.
You can remove this one, It's not required
Probably you defined
doneButton
property. You can remove this one, It's not required
I havn't define donebutton
SearchableDropdown.multiple( items: _dropdownMenuItems, disabledHint: "Select State", selectedItems: selectedState, displayClearIcon: false, //hint: Text("Select State "), searchHint: "Select State ", label: Text( "Select State ", style: TextStyle(color: Colors.black54), ), onChanged: (value) { setState(() { selectedState = value; }); if (selectedState.length > 0) getDealers(selectedState); }, closeButton: (selectedItems) { return ("Save"); }, underline: Container( height: 1.0, decoration: BoxDecoration( border: Border( bottom: BorderSide( color: Colors.black38, width: 1.0))), ), isExpanded: true, )
Probably you defined
doneButton
property. You can remove this one, It's not requiredI havn't define donebutton
SearchableDropdown.multiple( items: _dropdownMenuItems, disabledHint: "Select State", selectedItems: selectedState, displayClearIcon: false, //hint: Text("Select State "), searchHint: "Select State ", label: Text( "Select State ", style: TextStyle(color: Colors.black54), ), onChanged: (value) { setState(() { selectedState = value; }); if (selectedState.length > 0) getDealers(selectedState); }, closeButton: (selectedItems) { return ("Save"); }, underline: Container( height: 1.0, decoration: BoxDecoration( border: Border( bottom: BorderSide( color: Colors.black38, width: 1.0))), ), isExpanded: true, )
Set "doneButton" property to a dummy widget.
doneButton: Container(),
How to remove Done button near to label.