ant_icons_plus 2.1.0
ant_icons_plus: ^2.1.0 copied to clipboard
Ant Design icon pack for Flutter providing comprehensive icon coverage, easy integration via font assets, and ready-to-use widgets for apps.
2.1.0 #
- Updated the icon source from
@ant-design/icons-svg4.4.2 to 4.6.0. - Regenerated the icon font, Dart APIs, and example gallery registry.
- Added 17 Filled brand icons: Anthropic, Claude, DeepSeek, ElevenLabs, Gemini, Hugging Face, Mastodon, Meta, Mistral, Netflix, Ollama, Perplexity, Qwen, Replicate, Snapchat, Telegram, and Threads.
- Increased the collection from 831 to 848 icons: 447 Outlined, 251 Filled, and 150 TwoTone.
2.0.1 #
- Fixed icon glyph sizing: icons rendered via
Iconwidget now visually match the expected size (e.g.size: 24produces a ~20 dp icon, consistent with Material Icons). - Root cause: Ant Design SVGs use
viewBox="64 64 896 896", causing glyphs to fill ~100% of the font em-square. AfillFactorof 85% was added tosvg_builder.dartso glyphs occupy the same visual proportion as Material Icons (~83%). - Fixed SVG transform formula in
svg_builder.dart: non-zero viewBox origins (minX/minY) were not correctly accounted for in thetranslate()→scale()transform, causing slight position offsets.
2.0.0 #
- Breaking: icon prefix renamed from
AntdIcons*toAntIcons*(API change).
Migration #
Rename usages in your code like this:
Before:
Icon(AntdIcons.userOutlined)
After:
Icon(AntIcons.userOutlined)
1.0.1 #
- Updated package
descriptioninpubspec.yamlto improve package summary and meet pub.dev requirements (50–180 characters).
1.0.0 initial release #
- 831 Ant Design icons: 447 Outlined, 234 Filled, and 150 TwoTone.
- Outlined & Filled icons use a custom icon font (
IconData) — works with Flutter's nativeIconwidget. - TwoTone icons use inline SVG via
flutter_svgwithAntdIconwidget. - TwoTone icons support a configurable secondary color.
- Icons inherit color from Flutter's ambient
IconTheme. - Font-based icons support tree shaking in release builds.
- Icons are auto-generated by
scripts/generate.dart.