Open sarrathy opened 4 years ago
Container(
decoration: ShapeDecoration(
color: Colors.black,
shape: RoundedRectangleBorder(
side: BorderSide(width: 1, style: BorderStyle.solid, color: Colors.black),
borderRadius: BorderRadius.all(Radius.circular(8)),
),
),
child: SearchableDropdown.single(
items: dropdownCityListItems,
value: selectedValue,
iconEnabledColor: AppColors.GREEN_COLOR,
hint: Padding(
padding: const EdgeInsets.all(2.0),
child: Text("Select one"),
),
searchHint: "Select one",
menuBackgroundColor: Colors.black,
underline: SizedBox(height: 0,width: 0),
onChanged: (value) {
setState(() {
selectedValue = value;
});
},
isExpanded: true,
)
)