flutter_iconfont_generator 1.0.0 copy "flutter_iconfont_generator: ^1.0.0" to clipboard
flutter_iconfont_generator: ^1.0.0 copied to clipboard

A Dart/Flutter code generator for iconfont.cn icons. Converts iconfont.cn icons to Flutter widgets with SVG rendering, supporting multi-color icons and null safety.

Changelog #

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

1.0.0 - 2025-05-31 #

Added #

  • 🚀 Command line tool for generating Flutter icon widgets from iconfont.cn
  • 🎨 Multi-color icon support with custom color rendering
  • 📦 SVG-based rendering for smaller bundle size (no font files needed)
  • 🔄 Automated icon fetching and Dart code generation
  • 🛡️ Full null safety support
  • ⚡ Global installation support via dart pub global activate

Features #

  • Convert iconfont.cn symbol URLs to Flutter widgets
  • Configurable icon prefix trimming
  • Customizable save directory and default icon size
  • Support for both single-color and multi-color icons
  • Pure Dart components with flutter_svg dependency
  • Easy configuration through pubspec.yaml

Dependencies #

  • flutter_svg: ^2.0.0
  • http: ^1.0.0
  • xml: ^6.3.0
  • path: ^1.8.3
  • yaml: ^3.1.2

Requirements #

  • Dart SDK: >=2.17.0 <4.0.0
  • Flutter: >=3.0.0
3
likes
0
points
79
downloads

Publisher

verified publisheraihaven.top

Weekly Downloads

A Dart/Flutter code generator for iconfont.cn icons. Converts iconfont.cn icons to Flutter widgets with SVG rendering, supporting multi-color icons and null safety.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

build, flutter, flutter_svg, http, path, xml, yaml

More

Packages that depend on flutter_iconfont_generator