randomizer_null_safe 0.1.5 randomizer_null_safe: ^0.1.5 copied to clipboard
Flutter package which helps in picking random color, random element from list, random numbers, random doubles and many more.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add randomizer_null_safe
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
randomizer_null_safe: ^0.1.5
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:randomizer_null_safe/randomizer_null_safe.dart';