flutter_currency_picker 0.1.2 copy "flutter_currency_picker: ^0.1.2" to clipboard
flutter_currency_picker: ^0.1.2 copied to clipboard

Flutter Currency Picker -- simple representation layer (double to formatted number as String)

Flutter Currency Picker #

Test Status Build Status

Representation layer of conversion number to a currency as string. Native selector extension for Currency Selector with a dependency injection (list representation layer) approach.

Converter #

// locale 'en_US'
1234.5.toCurrency(code: 'EUR') // 1 234,50 €
1234.5.toCurrency(code: 'EUR', withPattern: false) // €1,234.50 

Currencies Localization #

// Init from context
CurrencyProvider.initFromContext(context);

// [OR] Inject your own
import 'package:flutter_gen/gen_l10n/app_localization_de.dart';
CurrencyDefaults.labels = AppLocalizationsDe();

Selector #

Selector Sample

Support (Sponsorship) #

Sponsorship would serve as an investment in the continuous evolution and improvement of open-sources projects carried out by the terCAD team. So, if you'd like to contribute financially towards the efforts, please consider these options:

Or, treat me to ☕.

3
likes
50
points
341
downloads

Publisher

verified publishertercad.com

Weekly Downloads

Flutter Currency Picker -- simple representation layer (double to formatted number as String)

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, flutter_localizations, intl

More

Packages that depend on flutter_currency_picker