fix flagdecoration

This commit is contained in:
Salvatore Giordano
2021-03-13 12:20:37 +01:00
parent a2955041b1
commit 4e8b890381
3 changed files with 6 additions and 5 deletions

View File

@@ -79,7 +79,7 @@ class CountryCodePicker extends StatefulWidget {
final bool showDropDownButton;
/// [BoxDecoration] for the flag image
final Decoration flagDecoration;
final Decoration? flagDecoration;
CountryCodePicker({
this.onChanged,
@@ -302,6 +302,7 @@ class CountryCodePickerState extends State<CountryCodePicker> {
barrierColor: widget.barrierColor,
hideSearch: widget.hideSearch,
closeIcon: widget.closeIcon,
flagDecoration: widget.flagDecoration,
),
),
),