smart_faker 0.5.1
smart_faker: ^0.5.1 copied to clipboard
An intelligent test data generator for Flutter/Dart with schema-based generation, smart relationships, and comprehensive internationalization support.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate smart_fakerUse it
The package has the following executables:
$ smart_faker
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add smart_fakerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
smart_faker: ^0.5.1Alternatively, 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:smart_faker/smart_faker.dart';