custom_password_validator 0.0.1+1 custom_password_validator: ^0.0.1+1 copied to clipboard
A custom Flutter Widget that can be used instead of FormField to validate password strength!.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add custom_password_validator
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
custom_password_validator: ^0.0.1+1
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:custom_password_validator/helpers/easy_password_validator.dart';
import 'package:custom_password_validator/helpers/password_level.dart';
import 'package:custom_password_validator/helpers/password_validator.dart';
import 'package:custom_password_validator/password_strength_meter.dart';
import 'package:custom_password_validator/widgets/strength_meter.dart';