data_faker 0.0.2 data_faker: ^0.0.2 copied to clipboard
A dart library for generating a fake data. This library make your life easier, also it's very customizable.
data_faker #
A dart library for generating a fake data. This library make your life easier, also it's very customizable.
Installation #
- Add this to your packages pubspec.yaml file:
dependencies:
auth_buttons: ^0.0.2
- Install it You can install it from the command line:
$ flutter pub get
- Import it Now in Dart code, you can use:
import 'package:data_faker/data_faker.dart';
Usage #
A simple usage example:
import 'package:data_faker/data_faker.dart';
void main() {
Name name = Name(charCount: 3, textCase: TextCase.lower);
print(name.name);
}
You'll get one of those names [leo, max, kai],
if you are using VSCode
hover over parameters will show you a simple documentation of this parameter, if you're using Android Studio
click on ctrl + Q
on windows
on Mac
click command + Q
.