Update country_code_picker.dart

This commit is contained in:
vlfr1997
2020-09-24 18:40:19 -03:00
committed by GitHub
parent f13b6fae05
commit ef3bb23d3e

View File

@@ -23,6 +23,7 @@ class CountryCodePicker extends StatefulWidget {
final Function(CountryCode) builder;
final bool enabled;
final TextOverflow textOverflow;
final Icon closeIcon;
/// the size of the selection dialog
final Size dialogSize;
@@ -84,6 +85,7 @@ class CountryCodePicker extends StatefulWidget {
this.countryFilter,
this.hideSearch = false,
this.dialogSize,
this.closeIcon = Icon(Icons.close),
Key key,
}) : super(key: key);
@@ -245,6 +247,7 @@ class CountryCodePickerState extends State<CountryCodePicker> {
flagWidth: widget.flagWidth,
size: widget.dialogSize,
hideSearch: widget.hideSearch,
closeIcon: widget.closeIcon,
),
).then((e) {
if (e != null) {