Package-level declarations
Country detection from device signals: the CountryDetector interface, DefaultCountryDetector (SIM → network → locale, no location permission), and the result/behavior types that describe what the picker does with a detected country.
Country detection from device signals: the CountryDetector interface, DefaultCountryDetector (SIM → network → locale, no location permission), and the result/behavior types that describe what the picker does with a detected country.
Country detection from device signals: the CountryDetector interface, DefaultCountryDetector (SIM → network → locale, no location permission), and the result/behavior types that describe what the picker does with a detected country.
Types
What the picker should do with a detection result.
Outcome of a CountryDetector run.
Where a detected country came from.
Resolves the user's likely country.
Detects the country from device signals only: SIM → network → locale settings.
Functions
Creates a DefaultCountryDetector reading SIM → network → configuration locale → default locale.
Creates a DefaultCountryDetector reading the user's Region setting.
Creates and remembers the platform's DefaultCountryDetector.
A detector that always reports iso2Code. Useful in previews and tests.
Builds a detector that tries the receiver first and falls back to fallback when it yields nothing.