fgen 0.0.1+1 copy "fgen: ^0.0.1+1" to clipboard
fgen: ^0.0.1+1 copied to clipboard

outdated

A command-line application to generate screens, viewmodels and repositories in the Flutter icapps template

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate fgen

Use it

The package has the following executables:

$ fgen

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add fgen

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

dependencies:
  fgen: ^0.0.1+1

Alternatively, your editor might support dart pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:fgen/code/code_generator_class.dart';
import 'package:fgen/code/generate_code.dart';
import 'package:fgen/code/navigator.dart';
import 'package:fgen/code/repository.dart';
import 'package:fgen/code/screen.dart';
import 'package:fgen/code/service.dart';
import 'package:fgen/code/viewmodel.dart';
import 'package:fgen/code/webservice.dart';
import 'package:fgen/main.dart';
import 'package:fgen/util/flutter_helper.dart';
import 'package:fgen/util/pubspec_utils.dart';
import 'package:fgen/util/string_extension.dart';
3
likes
0
pub points
38%
popularity

Publisher

verified publisherwive.be

A command-line application to generate screens, viewmodels and repositories in the Flutter icapps template

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

args, path, yaml

More

Packages that depend on fgen