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

outdated

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

Currency picker #

pub package

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

n1

Getting Started #

Add the package to your pubspec.yaml:

currency_picker: ^1.0.1

In your dart file, import the library:

import 'package:currency_picker/currency_picker.dart';

Show currency picker using showCurrencyListBottomSheet:

showCurrencyListBottomSheet(
   context: context,
   onSelect: (Currency currency) {
      print('Select currency: ${currency.name}');
   },
);

Parameters: #

  • onSelect: Called when a currency is select. The currency picker passes the new value to the callback (required)

Contributions #

Contributions of any kind are more than welcome! Feel free to fork and improve currency_picker in any way you want, make a pull request, or open an issue.

97
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