currency_symbols 0.0.1+2 icon indicating copy to clipboard operation
currency_symbols: ^0.0.1+2 copied to clipboard

Currency symbol package

The currency_symbol package allows you to display currency symbols() by supplying the currency codes(i.e NGN, USD, GBP etc)

Installation add currency_symbol to your pubspec.yaml file run pub get in your console/terminal to add it to your project

Import: import 'package:currency_symbols/currency_symbols.dart';

Usage:


String myCurrencySymbol=cSymbol("NGN");

OR Within your UI Text you can add as:


class  extends StatelessWidget {
  const ({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(
              child:Text("${cSymbol("GBP")}")
            );
  }
}

currency_symbol #

1
likes
90
pub points
43%
popularity

Publisher

unverified uploader

Currency symbol package

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on currency_symbols