FLUTTER ECOSYSTEM

dart-league/validators

:turtle: 適用於 Dart 的字串驗證與清理。

驗證器 專案封面
Stars
82
Forks
26
最近推送(UTC)
2023年5月15日
專案狀態
未封存
dart-league GitHub avatar
GITHUB Organization

dart-league ↗

語言Dart

此儲存庫發佈的套件

使用的依賴

依賴清單 1 項
  • test開發依賴^1.16.5

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

展開 / 收合專案 README

validators

Build Status

String validation and sanitization for Dart. Dart 2-compatible version of validator

Port of chriso's library.

Usage

1. Add dependency to your package's pubspec.yaml file:

dependencies:
  validators: ^2.2.0 # change to latest version

2. Run from the command line:

$ pub get

Alternatively, your editor might support pub. Check the docs for your editor to learn more.

3. Import in your Dart code:

import 'package:validators/validators.dart';

Documentation

Validators
Sanitizers