搜索插件、代码仓与 APP 分类

ant_design_flutter 封面
插件详情v0.0.1+5

ant_design_flutter

一个专为Web/PC应用程序设计的Flutter UI框架,包含一些高质量的组件。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
5
喜欢数
89
Pub 分数
130

安装插件

flutter pub add ant_design_flutter

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

Ant Design Flutter 是一个针对 Web 和桌面应用程序的 UI 框架,提供了一系列受 Ant Design 启发的高质量、可直接用于生产的组件。它提供了与现代设计原则一致的统一且美观的组件,非常适合构建可扩展的专业界面。该框架支持 Android、iOS、Web、macOS、Windows 和 Linux 等多个平台,确保跨平台一致性。凭借对可用性和视觉和谐的关注,它简化了复杂用户界面的开发。

适合场景

  • 构建企业级Web应用程序
  • 使用一致的用户界面创建桌面软件
  • 开发响应式仪表板
  • 设计管理面板
  • 快速创建精美界面的原型

主要特点

  • 跨平台兼容性
  • 高质量、可重复使用的组件
  • 一致的设计语言
  • 专为网页和桌面设计
  • 通过 pub 轻松集成
  • 文档齐全的组件

适合对象

  • 使用 Flutter 的 UI 设计师
  • 开发管理员或仪表板应用的开发者
  • 注重设计一致性的团队
  • 需要快速UI开发的项目
  • 面向多个平台的前端开发人员

使用建议

  • 有限的移动设备特定优化
  • 可能需要额外的样式以满足自定义需求
  • 最适合用于网页/桌面端,而非以移动设备优先的应用
  • 与主流包相比,社区规模较小
  • 不太适合高度定制化或独特的用户界面设计

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

Ant Design Flutter 2.0

A Flutter component library aligned with Ant Design v5, designed for web and desktop applications. Pure Dart, zero runtime dependencies.

Status Pub Version GitHub


⚠️ Development status

2.0 is a full rewrite. The main branch targets 2.0.0-dev.x releases — no components have landed yet. For a stable (but unmaintained) 1.x release see tag v1-legacy or version 0.0.1+5.

Roadmap and design live in docs/superpowers/specs/2026-04-18-antdf-2.0-design.md.

✨ Features (MVP goals)

  • 🎯 Aligned with Ant Design v5 design language
  • 🖥 Web + desktop first (Windows / macOS / Linux / Web); mobile out of scope
  • 🎨 Token-based theming (Seed → Map → Alias) compatible with theme.algorithm extension
  • 📦 Zero runtime dependencies — pure Dart on top of package:flutter/widgets.dart
  • 🌐 Built-in zh_CN and en_US locales
  • 🧩 17 core components in MVP (Button, Input, Select, DatePicker, Form, Table, and more)

📦 Installation

Not yet on pub.dev for 2.0. While 2.0 is in development, pin to git:

dependencies:
  ant_design_flutter:
    git:
      url: https://github.com/CalsRanna/ant_design_flutter
      ref: main

Once 2.0.0-dev.2 ships (Phase 3 complete) it will be published to pub.dev.

🔨 Usage

Components land in subsequent phases — see doc/PROGRESS.md for current status.

🎨 Using icon fonts

ant_design_flutter does not bundle an icon font. AntIcon accepts any IconData you pass in. Two common options:

  • Install a community icon package — e.g. ant_icons_plus:

    dependencies:
      ant_design_flutter: ^2.0.0-dev.4
      ant_icons_plus: ^x.y.z
    
    import 'package:ant_icons_plus/ant_icons_plus.dart';
    
    AntIcon(AntIcons.home);
    
  • Author your own IconData constants against a custom TrueType subset and pass them to AntIcon. Remember to set fontPackage on the IconData so your package's font ships to downstream users.

This trade-off is intentional: shipping a frozen icon subset turned out to be maintenance-heavy for the project's spare-time budget. See docs/superpowers/specs/2026-04-19-phase-3-atoms-design.md §4 for the full decision record.

🖥 Requirements

  • Flutter >= 3.38.0
  • Dart >= 3.10.0

🗺 Migration from 1.x

2.0 is a breaking rewrite. See doc/MIGRATION.md. If you are on 1.x and do not plan to migrate, pin to ant_design_flutter: 0.0.1+5 (tag v1-legacy).

🤝 Contributing

See doc/CONTRIBUTING.md.

📄 License

MIT

所属分类

依赖

依赖清单 2 项

源码仓库

使用此插件的项目

暂无相关数据。