We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents ca04aaf + e616b5f commit 1302111Copy full SHA for 1302111
packages/dropdown_button2/lib/src/dropdown_button2.dart
@@ -672,8 +672,8 @@ class _DropdownButton2State<T> extends State<DropdownButton2<T>>
672
if (buttonRadius != null) {
673
return buttonRadius.resolve(Directionality.of(context));
674
}
675
- if (widget._inputDecoration case final border?) {
676
- return _inputDecorationBorderRadius(border);
+ if (widget._inputDecoration case final decoration?) {
+ return _inputDecorationBorderRadius(decoration);
677
678
return null;
679
0 commit comments