flutter_iconfont_generator 1.0.3 copy "flutter_iconfont_generator: ^1.0.3" to clipboard
flutter_iconfont_generator: ^1.0.3 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.3 - 2025-07-19 #

Fixed #

  • πŸ› Fixed critical type errors in configuration factory constructor
  • πŸ”§ Removed deprecated lint rules (invariant_booleans, iterable_contains_unrelated_type, list_remove_unrelated_type, prefer_equal_for_default_values)
  • πŸ“ Fixed dangling library doc comments by adding proper library declaration
  • πŸ§ͺ Cleaned up test files: removed unused imports and variables, fixed unnecessary null assertions
  • βœ… Resolved all flutter analyze errors and warnings

Improved #

  • 🎯 Enhanced type safety with proper type casting in configuration parsing
  • πŸ“‹ Better code quality compliance with latest Dart analysis rules
  • 🧹 Cleaner test code without unused dependencies

1.0.2 - 2025-07-06 #

Changed #

  • πŸ“š Separated documentation into English (README.md) and Chinese (README_CN.md) versions
  • πŸ”§ Enhanced build configuration to prevent conflicts with other generators
  • πŸ“‹ Improved troubleshooting section with build conflict resolution
  • 🎨 Removed redundant pub package badges for cleaner documentation

Fixed #

  • πŸ› Fixed build conflicts by limiting builder scope in build.yaml
  • πŸ”¨ Changed output file extension from .g.dart to .iconfont.g.dart to avoid conflicts
  • πŸ“– Fixed duplicate content in Chinese documentation

Improved #

  • 🌐 Better internationalization with separate language documentation
  • πŸ› οΈ Enhanced build.yaml configuration with specific file targeting
  • πŸ“š Added detailed solutions for common build conflicts

1.0.1 - 2025-06-11 #

Changed #

  • πŸ“š Updated documentation with better examples and usage instructions
  • πŸ”§ Enhanced error handling and validation
  • 🎨 Improved code formatting and linting compliance

Fixed #

  • πŸ› Minor bug fixes and stability improvements
  • πŸ“‹ Fixed example app configuration and dependencies

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
120
points
69
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

Topics

#flutter #icons #iconfont #svg #code-generation

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

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

More

Packages that depend on flutter_iconfont_generator