패키지, 저장소 및 앱 카테고리 검색

GitHub 저장소CalsRanna/ant_design_flutter

ant_design_flutter

기업용 UI 디자인 언어 및 Flutter UI 라이브러리

ant_design_flutter 프로젝트 이미지
스타
141
포크
24
최근 푸시(UTC)
2026. 7. 1.
프로젝트 상태
활성

원본 README

아래는 영문 원문 스냅샷입니다. 최신 내용은 GitHub에서 확인하세요.

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

Cals Ranna GitHub avatar
GitHub 작성자

Cals Ranna ↗

Just for some code.

언어Dart

분류

이 저장소가 배포한 패키지

사용 중인 의존성

의존성 목록 3 개

  • flutter{"sdk":"flutter"}
  • flutter_test개발 의존성{"sdk":"flutter"}
  • very_good_analysis개발 의존성^10.1.0

프로젝트에 맞는 저장소를 선택하려면?

사용 목적에 따라 검색하고 개발 활동을 비교한 뒤 원본 저장소에서 요구 사항을 확인하세요.

  1. 이름, 작성자 또는 설명으로 검색하고 기술 주제로 범위를 좁힙니다.
  2. 스타, 포크, 최근 푸시를 함께 비교하세요. 스타는 관심의 지표이며 품질을 보장하지 않습니다.
  3. 사용하기 전에 GitHub에서 README, 라이선스, Issues를 확인하세요.

출처 및 관리

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗