navigate method

  1. @override
Future<Country?> navigate(
  1. BuildContext context,
  2. FlagCache flagCache
)
override

Implementation

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