Skip to content

Commit 1302111

Browse files
authored
Merge pull request #341 from AhmedLSayed9/enhance/minor_renaming
Minor renaming
2 parents ca04aaf + e616b5f commit 1302111

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/dropdown_button2/lib/src/dropdown_button2.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -672,8 +672,8 @@ class _DropdownButton2State<T> extends State<DropdownButton2<T>>
672672
if (buttonRadius != null) {
673673
return buttonRadius.resolve(Directionality.of(context));
674674
}
675-
if (widget._inputDecoration case final border?) {
676-
return _inputDecorationBorderRadius(border);
675+
if (widget._inputDecoration case final decoration?) {
676+
return _inputDecorationBorderRadius(decoration);
677677
}
678678
return null;
679679
}

0 commit comments

Comments
 (0)