model_code_generator 1.0.1 copy "model_code_generator: ^1.0.1" to clipboard
model_code_generator: ^1.0.1 copied to clipboard

Model Code Generator is a simple command for make a model in flutter. it's very easy to use.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate model_code_generator

Use it

The package has the following executables:

$ model_code_generator

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add model_code_generator

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  model_code_generator: ^1.0.1

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:model_code_generator/main.dart';
import 'package:model_code_generator/model/profil.dart';
import 'package:model_code_generator/model/user.dart';
3
likes
140
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

Model Code Generator is a simple command for make a model in flutter. it's very easy to use.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on model_code_generator