currency_symbols 0.0.1 currency_symbols: ^0.0.1 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")}") ); } }