currency_selector 1.0.1
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/toassets/in the root of the package. - No functional changes to the package API.
1.0.0 #
Added #
CurrencyInfomodel 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. CurrencySelectorwidget:- Searchable list of currencies.
- Highlight selected currency.
- Customizable title, primary color, background color, hint text, and "no currencies found" text.
showCurrencySelectorDialoghelper to display the selector as a dialog:- Height and width limited, centered.
showCurrencySelectorBottomSheethelper 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.