inspection 0.0.4 inspection: ^0.0.4 copied to clipboard
validation forms and data in Dart and Flutter like Laravel framework
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add inspection
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
inspection: ^0.0.4
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:inspection/Inspection.dart';
import 'package:inspection/InspectionCase.dart';
import 'package:inspection/Inspector.dart';
import 'package:inspection/Locales/en.dart';
import 'package:inspection/Locales/fa.dart';
import 'package:inspection/RuleAbstract.dart';
import 'package:inspection/Rules.dart';
import 'package:inspection/RuleStructure.dart';
import 'package:inspection/Rules/AlphaAndNumber.dart';
import 'package:inspection/Rules/Between.dart';
import 'package:inspection/Rules/Contains.dart';
import 'package:inspection/Rules/Email.dart';
import 'package:inspection/Rules/EndWith.dart';
import 'package:inspection/Rules/GT.dart';
import 'package:inspection/Rules/GTE.dart';
import 'package:inspection/Rules/HaveAlpha.dart';
import 'package:inspection/Rules/Hex.dart';
import 'package:inspection/Rules/In.dart';
import 'package:inspection/Rules/IP.dart';
import 'package:inspection/Rules/LT.dart';
import 'package:inspection/Rules/LTE.dart';
import 'package:inspection/Rules/Max.dart';
import 'package:inspection/Rules/Min.dart';
import 'package:inspection/Rules/NotIn.dart';
import 'package:inspection/Rules/Numeric.dart';
import 'package:inspection/Rules/OnlyAlpha.dart';
import 'package:inspection/Rules/OnlyFloat.dart';
import 'package:inspection/Rules/OnlyInt.dart';
import 'package:inspection/Rules/OnlyNumber.dart';
import 'package:inspection/Rules/Regex.dart';
import 'package:inspection/Rules/Required.dart';
import 'package:inspection/Rules/StartWith.dart';
import 'package:inspection/Rules/Url.dart';
import 'package:inspection/Translator.dart';