currency_picker 1.0.4 copy "currency_picker: ^1.0.4" to clipboard
currency_picker: ^1.0.4 copied to clipboard

outdated

A flutter package to select a currency from a list of currencies.

[1.0.4] - 22 Dec 2020 #

  • searchHint: Option to customize hint of the search TextField
  • showCurrencyName: Option to show/hide the currency name
  • showCurrencyCode: Option to show/hide the currency code
showCurrencyPicker(
   context: context,
   showFlag: true,
   searchHint: 'Search here',
   showCurrencyName: true,
   showCurrencyCode: true,
   onSelect: (Currency currency) {
      print('Select currency: ${currency.name}');
   },
);

Note: showCurrencyCode and showCurrencyName cannot be both false

[1.0.3] - 09 Dec 2020 #

  • Add option to show flag for each currency.
    showCurrencyPicker(
      context: context,
      showFlag: true,
      onSelect: (Currency currency) {
        print('Select currency: ${currency.name}');
      },
    );
    

[1.0.2] - 25 Nov 2020 #

  • Deprecated showCurrencyListBottomSheet. Use showCurrencyPicker instead.
  • Add currency filter option.
    • Can be used to uses filter the currencies list.
    • It takes a list of currency code.
      showCurrencyPicker(
        context: context,
        onSelect: (Currency currency) {
          print('Select currency: ${currency.name}');
        },
        currencyFilter: <String> ['EUR', 'GBP', 'USD', 'AUD', 'CAD', 'JPY', 'HKD', 'CHF', 'SEK', 'ILS'],
      );
      

[1.0.1] - 15 Nov 2020 #

  • Implement search.
  • Implement CurrencyService

[1.0.0] - 31 Oct 2020 #

  • Initial developers preview release.
118
likes
0
pub points
97%
popularity

Publisher

unverified uploader

A flutter package to select a currency from a list of currencies.

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on currency_picker