currency_icons 0.3.0 copy "currency_icons: ^0.3.0" to clipboard
currency_icons: ^0.3.0 copied to clipboard

A flutter package to display currency flag. Just specify currency name when creating a new Image.

example/main.dart

import 'package:flutter/material.dart';

class Currency extends StatelessWidget {
  // init Currency
  final String currencyName;

  Currency({Key? key, required this.currencyName}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return new Card(
      child: new Column(
        mainAxisSize: MainAxisSize.min,
        children: <Widget>[
          ListTile(
              leading: Image.asset('icons/currency/${this.currencyName}.png', package: 'currency_icons'),
              title: Text(this.currencyName)),
        ],
      ),
    );
  }
}
15
likes
160
pub points
85%
popularity

Publisher

unverified uploader

A flutter package to display currency flag. Just specify currency name when creating a new Image.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on currency_icons