password_dumb

Last updated:

0 purchases

password_dumb Image
password_dumb Images
Add to Cart

Description:

password dumb

Password Dumb #
A simple (but correct) Dart class to check if password is dumb, also can be use to generate strong password.
Installation #
This package requires the latest version of Dart. You can download the latest and greatest here.
1. Depend on it #
Add this to your package's pubspec.yaml file:
dependencies:
password_dumb: '^0.0.1'
copied to clipboard
2. Install it
You can install packages from the command line:
$ pub get
..
copied to clipboard
Alternatively, your editor might support pub. Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
import 'package:password_dumb/password_dumb.dart';
copied to clipboard
Usage #
Read the unit tests under test, or see code example below:
void main() {

var password = "12345678";

assert(PasswordDumb.validate(password));
}
copied to clipboard
Tips #
You can also use this repo as a template for creating Dart packages, just clone the repo and start hacking :)

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.