flutter_spark 1.0.5
flutter_spark: ^1.0.5 copied to clipboard
A Simple CLI to generate folder architecture for your flutter project.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate flutter_sparkUse it
The package has the following executables:
$ spark
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_sparkWith Flutter:
$ flutter pub add flutter_sparkThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
flutter_spark: ^1.0.5Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:flutter_spark/add_feature.dart';
import 'package:flutter_spark/asset_management.dart';
import 'package:flutter_spark/create_app.dart';
import 'package:flutter_spark/generator.dart';
import 'package:flutter_spark/routing.dart';