Skip to content
pubscout

clean_framework

4.1.4, released 3 months ago by acmesoftware.com

Clean Architecture components library for Flutter inspired by Uncle Bob.

Uses material_ui
$ flutter pub add clean_framework
Source repository

What it does

Provides a structured framework and components for implementing Clean Architecture in Flutter apps, including domain, use case, and presentation layers.

AI-written summary of version 4.1.4, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You want to enforce Clean Architecture principles in your Flutter application
  • You need a standardized approach to organizing app layers like use cases and presenters

Skip it when

  • You are building a small or simple app where Clean Architecture boilerplate is unnecessary
  • You prefer standard state management solutions like Provider or Riverpod without strict architectural layers

Strengths

  • Enforces a clear separation of concerns
  • Includes examples for REST and GraphQL backends

Weaknesses

  • High architectural overhead for simple applications
  • Requires adherence to specific framework patterns and naming conventions

Setup

Kind
Flutter widgets
Effort
Medium
Code generation
No
Direct dependencies
6

not documented

Alternatives

Packages that do the same job and could replace clean_framework.

  • flutter_bloc

    Provides a predictable state management pattern with strong community support and less rigid architectural layering.

  • riverpod

    Offers a compile-safe dependency injection and state management solution without enforcing strict Clean Architecture layers.

Works with

Packages commonly used together with clean_framework: ones it builds on, ones built on it, and its own family.