cryptofont 1.0.2+1 icon indicating copy to clipboard operation
cryptofont: ^1.0.2+1 copied to clipboard

CryptoFonts is the biggest open-source library with more than 1000 cryptocurrency icons.

CryptoFonts #

CryptoFonts is the biggest open-source library with more than 1000 cryptocurrency icons.

Demo

Usage #

import 'package:cryptofont/cryptofont.dart';

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

  @override
  Widget build(BuildContext context) {
    // Get the icon code if you need it
    final code = cryptoFontIconMapping[symbol.toLowerCase()];

    return Row(
      children: [
        // Use directly
        const Icon(CryptoFontIcons.btc),
        // Or by using the symbol
        Icon(CryptoFontIcons.fromSymbol("BTC")),
        // Case insensitive, this works too
        Icon(CryptoFontIcons.fromSymbol("btc")),
      ],
    );
  }
}

8
likes
130
pub points
41%
popularity

Publisher

verified publisher iconcryptofonts.com

CryptoFonts is the biggest open-source library with more than 1000 cryptocurrency icons.

Homepage

Documentation

API reference

License

Icon for licenses.GPL-3.0 (LICENSE)

Dependencies

flutter

More

Packages that depend on cryptofont