flutter_flag_selector 0.0.2 copy "flutter_flag_selector: ^0.0.2" to clipboard
flutter_flag_selector: ^0.0.2 copied to clipboard

A Flutter package to easily select a country flag and change the app locale. Perfect for multilingual apps.

0.0.2 #

🎉 Major Updates #

  • All 4 display modes now fully functional

    • Fixed dialog mode with complete property propagation (30+ properties)
    • Fixed popup menu mode with correct positioning and all properties
    • Implemented draggable sheet mode with resize capability
    • All modes now support full customization
  • Improved Error Handling

    • Added validation for empty country lists
    • Better handling of invalid initial country codes
    • Case-insensitive country code matching
  • Enhanced User Experience

    • Automatic modal closure after country selection in all modes
    • Better positioning for popup menu
    • Smooth animations in draggable sheet mode

🔧 Technical Improvements #

  • Refactored dialog picker implementation
  • Refactored popup menu picker implementation
  • Created new draggable sheet picker implementation
  • Improved code documentation
  • Fixed all linter warnings

📝 Documentation #

  • Updated README.md with all 4 display modes
  • Added examples for each display mode
  • Updated property documentation

0.0.1 #

  • Initial release with basic country selector functionality
  • Support for modal bottom sheet display mode
  • Multilingual support (20+ languages)
  • SVG flag rendering
  • Basic customization options
3
likes
160
points
162
downloads

Publisher

verified publisherdissangkevin.online

Weekly Downloads

A Flutter package to easily select a country flag and change the app locale. Perfect for multilingual apps.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_svg, font_awesome_flutter

More

Packages that depend on flutter_flag_selector