Last updated:
0 purchases
flutter maker
Flutter Maker | CLI #
Generate clean code folders and file programmatically with pure dart independent code
Supported Devices #
Android
IOS
Web
Linux
Windows
Macos
Installation #
Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
flutter_maker:
copied to clipboard
Import the package and use it in your Flutter App.
import 'package:flutter_maker/flutter_maker.dart';
copied to clipboard
If the CLI application is available on pub, activate globally via:
dart pub global activate flutter_maker
copied to clipboard
Or locally via:
dart pub global activate --source=path <path to this package>
dart pub global activate --source path .
copied to clipboard
Example #
Create files and folder
maker make home
copied to clipboard
Get package version
maker -v
copied to clipboard
Get Help
maker -h
copied to clipboard
Project Folder Structure #
- bin
- flutter_maker.dart
- lib
- src
- commands
- commands.dart
- maker_command.dart
- update_command.dart
- local
- local_strings.dart
- version.dart
- commands_helper.dart
- command_runner.dart.dart
- string_extension.dart
- flutter_maker.dart
copied to clipboard
Programmatically Created Folder Structure #
- feature
- Home
- data
- Data_Source
- Local
- Repository
- domain
- Model
- Repository
- presentation
- View
- ViewModel
- Widgets
copied to clipboard
Contributions #
If you find a bug or want a feature, but don't know how to fix/implement it, please fill an issue.
If you fixed a bug or implemented a feature, please send a pull request.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.