i am using dropdown button in my project. After clicking dropdownmenubutton it opens the list my items are small (mon.tue,wed and so on) but the dropdown window is expanded till dropdown button. i want to decrease the width of the dropdownMenuitem width withouth changing the width of dropdwon button. I wrapped my dropdownbutton with container and provided the width but its also dreaccesing the width of dropdownbutton. Is there any way that i can only change the width of dropdwonmenu window and keeping isExpanded to true? Thanks in advance.
return Container(
// width: 300.0,
child: DropdownButton(
isExpanded: true,
value: name,
items: listOfDropdownMenuItems,
onChanged: onChanged,
style: Theme.of(context).textTheme.title,
),
);