country_extensions library
Classes
- AppColors
- CityDropdown
- ============================================================================== 2. CITY DROPDOWN (INDEPENDENT) Can be used standalone with customCities, or linked dynamically to Country
- Country
- CountryCityPhonePicker
- ============================================================================== 4. COUNTRY, CITY & PHONE PICKER (COMPOSITE MASTER) Use all 3 or toggle independently via showCountry, showCity, showPhone
- CountryData
- CountryDropdown
- ==============================================================================
- CountryPhoneField
-
==============================================================================
3. COUNTRY PHONE FIELD (INDEPENDENT)
Phone number field with country code prefix
🇵🇰 +92 ▾before the number -
CustomDropdown<
T> - A generic, search-enabled dropdown with smooth overlay support.
- CustomGap
- Convenient widget for responsive gaps and spacing
- Responsive
- Responsive utility class
Extensions
- ContextExtensions on BuildContext
- Extension on BuildContext to simplify media queries, theme access, navigation, and feedback.
- CountryCityContextExtension on BuildContext
- Convenient extensions on BuildContext to quickly build Country & City dropdowns
- CountryHelperExtension on Country
- Convenient extensions on Country object
- CountryStringExtension on String
- Convenient extensions on String for Country/City operations
- NullableCountryStringExtension on String?
- Convenient extensions on nullable String
- NullableStringExtensions on String?
- Extension on nullable String providing safe fallback helpers.
- NumExtensions on num
- Extension on num providing instant spacing widgets (SizedBox), durations, and delays.
- StringExtensions on String
- Extension on String providing validation, transformations, and formatting.
- WidgetExtensions on Widget
- Extension on Widget to provide chainable styling, layout, and interaction modifiers.
Typedefs
- CountryCityPicker = CountryCityPhonePicker
- Backwards compatibility alias for CountryCityPicker