random_library 1.0.1 random_library: ^1.0.1 copied to clipboard
This is simple random library , you can get random string , random string with number , random string between tow letter random string between min and max length , random country , random arabian coun [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add random_library
With Flutter:
$ flutter pub add random_library
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
random_library: ^1.0.1
Alternatively, your editor might support dart pub get
or flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:random_library/random_library.dart';