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

Currency_pick is a Flutter package that allows users to select currencies easily. It provides a user-friendly dropdown or dialog interface to pick a currency, returning details like currency name, sym [...]

Currency Pick #

Description #

currency_pick is a Flutter package that allows users to select currencies easily. It provides a user-friendly dropdown or dialog interface to pick a currency, returning details like currency name, symbol, and code.

Features #

  • List of global currencies
  • Currency name, symbol,decimal_digits,number,name_plural and code
  • Customizable UI
  • Lightweight and easy to integrate

Images #

[assets/image4.jpg] [assets/image3.jpg] [assets/image1.jpg] [assets/image2.jpg]

Installation #

Add the following dependency to your pubspec.yaml:

dependencies:
  currency_pick: latest_version

Then run:

flutter pub get

Usage #

Import the package:

import 'package:currency_pick/currency_pick.dart';

Example Usage #

CustomCurrency(
initialValue: "INR",
onSaved: (value) {
setState(() {
totalValueObj=value;
});
},
)

Customization #

You can customize the appearance using optional parameters:

CustomCurrency(
initialValue: "INR",
onSaved: (value) {
setState(() {
totalValueObj=value;
});
},
appBar: AppBar(title: Text("Select Currency"),),
boxDecoration: BoxDecoration(color: Colors.red),
countryTextStyle: TextStyle(),
symbolTextStyle: TextStyle(),
)
);

[GitHub Link]

Android Version 11 Issue #

If some currency symbols are not supported in Android version 11, you can use the following font family to override the issue:

TextStyle(
fontFamily: 'NotoSans',
);

Contributions #

Feel free to contribute by submitting issues or pull requests on GitHub.

License #

This package is released under the MIT License.

6
likes
115
points
35
downloads

Publisher

unverified uploader

Weekly Downloads

Currency_pick is a Flutter package that allows users to select currencies easily. It provides a user-friendly dropdown or dialog interface to pick a currency, returning details like currency name, symbol, and code

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

cached_network_image, flutter

More

Packages that depend on currency_pick