Update README.md

This commit is contained in:
Salvatore Giordano committed 2020-04-05 12:32:25 +02:00
1 parent 8f9959cbe6
commit 7ade439518
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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<CountryCode> | callback invoked when the selection changes |
|onInit| ValueChanged<CountryCode> | callback invoked during initialization of the widget |
|initialSelection| String | used to set the initial selected value |
+1 -1
View File
@@ -118,7 +118,7 @@ class CountryCodePickerState extends State<CountryCodePicker> {
Widget build(BuildContext context) {
Widget _widget;
if (widget.builder != null)
_widget = GestureDetector(
_widget = InkWell(
onTap: showCountryCodePickerDialog,
child: widget.builder(selectedItem),
);