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

套件詳情v2.0.0

acanthis

Acanthis 是一個易於使用的驗證庫,適用於 Dart 和 Flutter。

AndroidiOSmacOSWindowsLinux
近 30 天下載
5120
喜歡數
50
Pub 分數
160

安裝套件

flutter pub add acanthis

套件介紹

根據套件公開資料產生的選型評估,僅供參考。

Acanthis 是一個輕量級、易於使用的 Dart 與 Flutter 應用程式驗證庫。它提供簡單直覺的 API,用於驗證各種資料類型的使用者輸入,包括文字、數字與電子郵件位址。Acanthis 內建驗證器並支援自訂規則,可簡化行動與桌面應用程式中的表單驗證。專為尋求快速整合且無需樣板程式碼的開發者設計,能提升輸入的可靠性和使用者體驗。此函式庫相容於 Android、iOS、macOS、Windows 與 Linux 平台。

適用情境

  • Flutter 應用中的表單驗證
  • 輸入欄位清理
  • 即時用戶反饋
  • 自定驗證規則
  • 跨平台數據驗證

主要特色

  • 簡單 API
  • 內建驗證器
  • 自定規則支援
  • 跨平台相容性
  • 最小化樣板程式碼

適合對象

  • Flutter 初學者
  • 表單密集型應用
  • 移動和桌面應用
  • 希望快速驗證的開發者
  • 需要一致輸入檢查的專案

使用建議

  • 僅限基本驗證需求
  • 無內建國際化支援
  • 需要手動處理錯誤訊息
  • 不適合複雜的業務邏輯
  • 依賴外部依賴管理

原始 README

以下為關聯原始碼儲存庫的 README 原文快照,最新內容請造訪原始碼儲存庫。

Acanthis Banner

Acanthis

Acanthis is a simple and easy to use validation library for Dart. It is inspired by Zod although it is not a port of it. Acanthis is tailored to the Dart language and its features and is type-safe and composable.

Get Started | Pub.dev

Why Acanthis?

Acanthis provides validation for most of the Dart built-in types and allows you to create custom validators.

But that's not all! Acanthis is designed to be composable, so you can create complex validators by combining simpler ones.

Contributions

Contributions are welcome! If you want to contribute to Acanthis, you can open a pull request on the GitHub repository

License

Acanthis is licensed under the MIT License. You can read the MIT license

Credits

Acanthis is developed and maintained by Avesbox

所屬分類

依賴

依賴清單 4 項

原始碼儲存庫

使用此套件的專案

暫無相關資料。