cryptofont 1.0.2+1 copy "cryptofont: ^1.0.2+1" to clipboard
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")),
      ],
    );
  }
}

15
likes
150
pub points
80%
popularity

Publisher

verified publishercryptofonts.com

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

Homepage

Documentation

API reference

License

GPL-3.0 (license)

Dependencies

flutter

More

Packages that depend on cryptofont