diff --git a/README.md b/README.md index e9fbc25..95d1dad 100644 --- a/README.md +++ b/README.md @@ -70,7 +70,7 @@ Just add the `CountryLocalizations.delegate` in the list of your app delegates Here is a list of properties available to customize your widget: | Name | Type | Description | -|-|-| +|-----|-----|------| |onChanged| ValueChanged | callback invoked when the selection changes | |onInit| ValueChanged | callback invoked during initialization of the widget | |initialSelection| String | used to set the initial selected value | diff --git a/lib/country_code_picker.dart b/lib/country_code_picker.dart index 9602e5c..5b5ac9b 100644 --- a/lib/country_code_picker.dart +++ b/lib/country_code_picker.dart @@ -118,7 +118,7 @@ class CountryCodePickerState extends State { Widget build(BuildContext context) { Widget _widget; if (widget.builder != null) - _widget = GestureDetector( + _widget = InkWell( onTap: showCountryCodePickerDialog, child: widget.builder(selectedItem), );