搜尋套件、儲存庫與 APP 分類

ant_design_flutter 封面
套件詳情v0.0.1+5

ant_design_flutter

一個專為Web/PC應用程式設計的Flutter UI框架,包含一些高品質的組件。

AndroidiOSWebmacOSWindowsLinux
近 30 天下載
7
喜歡數
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 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。