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

Package that can show UAE Dirham symbol with formatted amount in string by applying the amount in double

Use UAE Dirham Symbol as Text in your application. Avoid adding dirham font and manage the code. Just Use UaeDirhamSymbolTextView and pass decimal number to the parameter "amount" and you will get the amount formatted with dirham symbol.

Features #

Use UAE Dirham symbol with custom limited styling.

Getting started #

pub package

Only add uae_dirham_symbol package to your pubspec.yaml.

dependencies:
  uae_dirham_symbol: ^0.0.1

Usage #

Use UaeDirhamSymbolTextView to display amount/prices with Dirham symbol.

class DirhamSymbolExample extends StatelessWidget {
  const DirhamSymbolExample({super.key});

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text("UAE Dirham Symbol TextView"),
        centerTitle: true,
      ),
      body: Center(
        child: UaeDirhamSymbolTextView(amount: 1.99),
      ),
    );
  }
}

Parameters #

Type Name Value
double amount 10.0
double? fontSize 14.0 (Default)
FontWeight? fontWeight FontWeight.bold (Default)
Color? color no color (uses theme color)
TextAlign? textAlign TextAlign.start (Default)

Support #

For support or questions, please open an issue in the GitHub repository or contact the development team.

0
likes
0
points
50
downloads

Publisher

unverified uploader

Weekly Downloads

Package that can show UAE Dirham symbol with formatted amount in string by applying the amount in double

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on uae_dirham_symbol