enge 0.2.1 enge: ^0.2.1 copied to clipboard
An structure builder for optimize the development for Flutter. The method is based on Laravel's way of doing this.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate enge
Use it
The package has the following executables:
$ enge
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add enge
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
enge: ^0.2.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:enge/commands/make_component_command.dart';
import 'package:enge/commands/make_page_command.dart';
import 'package:enge/makers/component_maker.dart';
import 'package:enge/makers/maker.dart';
import 'package:enge/makers/page_maker.dart';
import 'package:enge/support/io.dart';