Android 颤振,从下拉框中更改展开下拉菜单的样式

Android 颤振,从下拉框中更改展开下拉菜单的样式,android,flutter,dart,Android,Flutter,Dart,我有一个下拉小部件,其中包含5个日期范围的列表。应用程序的形状主题为圆角,但用户单击下拉按钮时显示的菜单具有锐角。如何设置展开的下拉项框的样式 在下面的屏幕截图片段中,我想将展开的菜单向下移动到按钮下方,并绕过各个角落 代码: child: DropdownButtonHideUnderline( child: DropdownButton( items: _dropdownValues.map((value) => DropdownMenuItem( child:

我有一个下拉小部件,其中包含5个日期范围的列表。应用程序的形状主题为圆角,但用户单击下拉按钮时显示的菜单具有锐角。如何设置展开的下拉项框的样式

在下面的屏幕截图片段中,我想将展开的菜单向下移动到按钮下方,并绕过各个角落

代码:

child: DropdownButtonHideUnderline(
  child: DropdownButton(
    items: _dropdownValues.map((value) => DropdownMenuItem(
      child: Text(
        value,
        style: TextStyle(
          color: Colors.black87,
          fontWeight: FontWeight.bold,
          fontSize: MediaQuery.of(context).size.width * 0.04,
        ),
      ),
      value: value)
    ).toList(),
    onChanged: (String value) {
      setState(() {
        _currentlySelected = value;
      });
    },
    isExpanded: false,
    value: _currentlySelected,
  )
)
下拉列表已折叠:

下拉列表已展开: