navigate method
Implementation
@override
Future<Country?> navigate(BuildContext context, FlagCache flagCache) {
return showSearch(
context: context,
delegate: _getCountrySelectorSearchDelegate(
onCountrySelected: (country) => Navigator.pop(context, country),
flagCache: flagCache,
),
);
}