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