flutter_maker 2.0.0 copy "flutter_maker: ^2.0.0" to clipboard
flutter_maker: ^2.0.0 copied to clipboard

Flutter Package Generate clean code folders and file programmatically with pure dart independent code

Flutter Maker | CLI #

  • Generate clean code folders and file programmatically with pure dart independent code

Supported Devices #

  • Android
  • IOS
  • Web
  • Linux
  • Windows
  • Macos

Installation #

  1. Add the latest version of package to your pubspec.yaml (and rundart pub get):
dependencies:
  flutter_maker:
copied to clipboard
  1. Import the package and use it in your Flutter App.
import 'package:flutter_maker/flutter_maker.dart';
copied to clipboard
  1. 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.

4
likes
130
points
50
downloads

Publisher

unverified uploader

Weekly Downloads

2024.07.07 - 2025.01.19

Flutter Package Generate clean code folders and file programmatically with pure dart independent code

Repository (GitHub)
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

args, mason_logger, pub_updater

More

Packages that depend on flutter_maker