Search packages, repositories and app categories

Package detailsv0.0.7

clean_architecture_scaffold

Package that can create folders based on clean architecture.

AndroidiOSWebmacOSWindowsLinux
30-day downloads
99
Likes
10
Pub points
160

Install package

flutter pub add clean_architecture_scaffold

Package Overview

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

A Flutter package that automates the creation of project folders following clean architecture principles. It helps developers organize their codebase with structured directories for layers like presentation, domain, and data, promoting maintainability and scalability. The package is designed to streamline initial project setup by generating a consistent folder structure across multiple platforms. It supports all major Flutter platforms and integrates easily via pub add command.

Use cases

  • Initial project setup with clean architecture
  • Enforcing consistent folder structure
  • Improving team collaboration on large projects
  • Automating boilerplate directory creation
  • Supporting scalable app development

Key features

  • Generates clean architecture folder structure
  • Cross-platform support (Android, iOS, Web, macOS, Windows, Linux)
  • Simple CLI integration via flutter pub add
  • Extensible for custom configurations
  • Minimal configuration required

Suitable for

  • Flutter teams adopting clean architecture
  • Developers seeking organized project structure
  • Projects requiring long-term maintainability
  • New Flutter projects aiming for best practices
  • Teams working on large-scale applications

Considerations

  • Does not generate code files, only folders
  • Requires manual implementation of business logic
  • Limited customization without modifying source
  • Best used in early development phase
  • Not suitable for existing projects without refactoring

Original README

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

Clean Architecture Scaffold for Flutter

Easily scaffold folders based on the Clean Architecture in your Flutter project with this package. Reduce boilerplate and ensure consistent directory structure across your features.

Features

  • Automatically generate a standardized folder structure for Clean Architecture.
  • Reduce the repetitive task of creating folders manually.
  • Ensure consistency across different features or modules.

Installation

Add the package to your pubspec.yaml:

dependencies:
  clean_architecture_scaffold: ^0.0.7

Usage

Use the command after installation to generate the folder structure for your feature:

dart run clean_architecture_scaffold:main -f FEATURE_NAME

This reduces boilerplate code and ensures you have the correct directory structure set up for implementing features using Clean Architecture.

Contributing

We welcome contributions to clean_architecture_scaffold! If you have a feature suggestion, bug report, or wish to contribute code:

  1. Check out our repository: clean_architecture_scaffold.
  2. Create a new pull request or open an issue.

Thank you for supporting and using clean_architecture_scaffold!

Categories

Dependencies

Dependency list 1 items

Source repository

Projects using this package

No data available yet.