feature_by_folder 0.0.5
feature_by_folder: ^0.0.5 copied to clipboard
This is a package that helps you create a `feature-by-folder` structure for organizing code and resources in a Flutter app.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate feature_by_folderUse it
The package has the following executables:
$ f
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add feature_by_folderThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
feature_by_folder: ^0.0.5Alternatively, 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:feature_by_folder/feature_by_folder.dart';