Search packages, repositories and app categories

Package detailsv0.3.0

feature_folder_cli

CLI utility that generates a folder structure to reduce the repetitive work required to setup directories for models, services, repositories, screens and widgets.

AndroidiOSmacOSWindowsLinux
30-day downloads
76
Likes
42
Pub points
160

Install package

flutter pub add feature_folder_cli

Package Overview

Package selection guidance compiled from public package information, community data, and project usage.

A Flutter CLI tool that automates the creation of organized folder structures for common app components like models, services, repositories, screens, and widgets. By running a simple command, developers can quickly generate consistent project scaffolding, reducing repetitive setup tasks and promoting code organization. The tool is platform-agnostic, supporting Android, iOS, macOS, Windows, and Linux. It integrates seamlessly with Flutter projects via pub.dev.

Use cases

  • Rapid project initialization
  • Standardizing team folder structures
  • Reducing manual directory creation
  • Streamlining feature development
  • Maintaining consistent project layout

Key features

  • Automated folder generation
  • Support for multiple Flutter components
  • Cross-platform compatibility
  • Simple CLI integration
  • Configurable structure templates

Suitable for

  • Flutter beginners
  • Team-based Flutter projects
  • Large-scale app development
  • Agile development workflows
  • Projects requiring strict organization

Considerations

  • Requires Dart/Flutter SDK
  • May need customization for unique project needs
  • Not suitable for non-CLI workflows
  • Limited to folder structure only
  • Depends on external package updates

Original README

Original README snapshot from the linked source repository. Visit the repository for the latest content.

Folder by Feature CLI Utility :open_file_folder:

A Dart CLI tool that generates the folder structure for the folder-by-feature pattern. This tool helps to reduce the repetitive work required to setup directories for models, services, repositories, screens and widgets.

The folder structure generated by the cli is as follows:

feature/
┣ domain/
┃ ┣ models/
┃ ┣ repository/
┃ ┣ services/
┃ ┗ index.dart
┣ screens/
┃ ┣ feature_screen.dart
┃ ┗ index.dart
┣ widgets/
┃ ┣ feature_component.dart
┃ ┗ index.dart
┣ providers/
┃ ┣ feature_provider.dart
┃ ┗ index.dart
┗ index.dart

Command Usage :wrench:

Make sure you are in the root of your project

ff generate -n <feature_name> -t <type> -p <path>

Currently supporting only the simple and getx types

Categories

Dependencies

Dependency list 4 items

Source repository

Projects using this package

No data available yet.