0% found this document useful (0 votes)
111 views1 page

Flutter DropdownSearch Widget Example

Uploaded by

sowmisoms0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
111 views1 page

Flutter DropdownSearch Widget Example

Uploaded by

sowmisoms0
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

Padding(

padding: const [Link](left: 0.0,right:


0.0,top:0.0,),
child: Container(
decoration: BoxDecoration(
borderRadius: [Link](20),
color: [Link],
),
margin: const [Link](3.0),
child:SizedBox(
height: 100,
child: Stack(
alignment: [Link],
children: <Widget>[
Container(
decoration: const BoxDecoration(
color: [Link],
),
margin: [Link](5),
child: DropdownSearch<String>(
// value: selectedcategory,
validator: (val) => val?.length ==
0 ? 'Category' : null,
items: Machineid,
selectedItem: Wireissuemachine,
popupProps:
[Link](showSearchBox: true,),
dropdownButtonProps:
DropdownButtonProps(color: [Link],),
dropdownDecoratorProps:
DropDownDecoratorProps(textAlignVertical: [Link],
dropdownSearchDecoration:
InputDecoration(border: OutlineInputBorder(borderRadius:
[Link](10),),labelText:"Machine No",),),///, labelText: "Category"

onChanged: (province) {
Wireissuemachine = province;
machine_No_Controller.text=
[Link]();
setState(() {
});
},

),),],),),),),],),),
],),),

You might also like