Skip to main content

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

Ant Design icons for Flutter. 850+ icons — outlined & filled as TTF font, twotone via flutter_svg, plus a unified AntdIcon widget.

antd_icons_flutter #

Ant Design icons for Flutter — 850+ icons covering Outlined, Filled and TwoTone styles, ported from @ant-design/icons-svg.

📚 Icon Gallery — browse all 850+ icons with live search and TwoTone color picker.

Features #

  • TTF font mode — Outlined (447) + Filled (251) packed in a single TTF font, native Flutter rendering
  • TwoTone SVG mode — 150 dual-color icons rendered via flutter_svg, with runtime color customization
  • Unified AntdIcon widget — one component for both TTF and SVG modes, API aligned with antd React
  • Ant Design fidelity — naming convention matches antd React (checkOutlined, heartFilled, checkCircleTwoTone)

Getting started #

dependencies:
  antd_icons_flutter: ^1.0.0
import 'package:antd_icons_flutter/antd_icons_flutter.dart';

Usage #

// Outlined / Filled (TTF font)
AntdIcon(AntIcons.checkOutlined)
AntdIcon(AntIcons.searchOutlined, size: 24, color: Colors.blue)

// TwoTone (SVG, default #333 + #E6E6E6)
AntdIcon(AntIconsTwotone.checkCircleTwoTone)

// TwoTone with custom primary color (secondary auto-generated)
AntdIcon(AntIconsTwotone.heartTwoTone, twoToneColor: Colors.red)

Flutter Icon widget (TTF only) #

Icon(AntIcons.checkOutlined)
Icon(AntIcons.heartFilled, color: Colors.red)

Naming convention #

antd React antd_icons_flutter
<CheckOutlined /> AntIcons.checkOutlined
<CheckCircleFilled /> AntIcons.checkCircleFilled
<CheckCircleTwoTone /> AntIconsTwotone.checkCircleTwoTone

Inside antd_flutter_plus #

If you use antd_flutter_plus, icons are re-exported automatically:

import 'package:antd_flutter_plus/antd_flutter_plus.dart';

AntButton(icon: AntdIcon(AntIcons.searchOutlined), child: Text('Search'))

Regenerating assets #

The tool/ directory contains a self-contained generator that downloads the latest @ant-design/icons-svg from npm and regenerates all assets:

cd tool && npm install && node generate.mjs

Options: --version <ver> · --clean · --registry <url>

Icon list #

Full icon list available at ant.design/components/icon.

License #

MIT

0
likes
140
points
85
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Ant Design icons for Flutter. 850+ icons — outlined & filled as TTF font, twotone via flutter_svg, plus a unified AntdIcon widget.

Topics

#ui #icons #design-system #ant-design

License

MIT (license)

Dependencies

flutter, flutter_svg

More

Packages that depend on antd_icons_flutter