currency_selector 1.0.1 copy "currency_selector: ^1.0.1" to clipboard
currency_selector: ^1.0.1 copied to clipboard

A ready-to-use currency picker dialog with world currencies, symbols and flags.

Changelog #

1.0.1 #

Fixed #

  • Updated README to display screenshots correctly on pub.dev.
  • Moved screenshot images from example/ to assets/ in the root of the package.
  • No functional changes to the package API.

1.0.0 #

Added #

  • CurrencyInfo model to represent currency data (code, name, symbol, flag).
  • Default list of world currencies (worldCurrencies), including fiat and popular crypto.
  • Helper function getCurrencySymbol(String code) to get currency symbol by code.
  • Helper function getCurrencyInfo(String code) to get full currency info by code.
  • CurrencySelector widget:
    • Searchable list of currencies.
    • Highlight selected currency.
    • Customizable title, primary color, background color, hint text, and "no currencies found" text.
  • showCurrencySelectorDialog helper to display the selector as a dialog:
    • Height and width limited, centered.
  • showCurrencySelectorBottomSheet helper to display the selector as a modal bottom sheet:
    • Full device width, max height 75% of screen.
    • Supports scroll control and safe area for keyboard.
  • Improved “No currencies found” state with icon and text.
  • Fully documented parameters for all public functions and widgets.
  • Supports custom list of currencies passed by the caller.
1
likes
160
points
162
downloads

Publisher

unverified uploader

Weekly Downloads

A ready-to-use currency picker dialog with world currencies, symbols and flags.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on currency_selector