Update country_code_picker.dart
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user