ant_icons_plus 2.0.1 copy "ant_icons_plus: ^2.0.1" to clipboard
ant_icons_plus: ^2.0.1 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.0.1 #

  • Fixed icon glyph sizing: icons rendered via Icon widget now visually match the expected size (e.g. size: 24 produces 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. A fillFactor of 85% was added to svg_builder.dart so 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 the translate()→scale() transform, causing slight position offsets.

2.0.0 #

  • Breaking: icon prefix renamed from AntdIcons* to AntIcons* (API change).

Migration #

Rename usages in your code like this:

Before:

Icon(AntdIcons.userOutlined)

After:

Icon(AntIcons.userOutlined)

1.0.1 #

  • Updated package description in pubspec.yaml to 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 native Icon widget.
  • TwoTone icons use inline SVG via flutter_svg with AntdIcon widget.
  • 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.
1
likes
160
points
116
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Ant Design icon pack for Flutter providing comprehensive icon coverage, easy integration via font assets, and ready-to-use widgets for apps.

Repository (GitHub)
View/report issues

Topics

#icons #ant-design #antd #ui #assets

License

MIT (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on ant_icons_plus