flutter_clean_architecture 6.0.1 copy "flutter_clean_architecture: ^6.0.1" to clipboard
flutter_clean_architecture: ^6.0.1 copied to clipboard

A Flutter package that implements the Clean Architecture by Uncle Bob in Flutter. It provides Views, Controllers, Presenters, Observers, and UseCases.

398
likes
130/ 160
pub points
88%
popularity

We analyzed this package 18 hours ago, and awarded it 130 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

58 out of 82 API elements (70.7 %) have documentation comments.

Some symbols that are missing documentation: flutter_clean_architecture, flutter_clean_architecture.BackgroundUseCase.isRunning, flutter_clean_architecture.BackgroundUseCase.state, flutter_clean_architecture.BackgroundUseCaseMessage.data, flutter_clean_architecture.BackgroundUseCaseMessage.done.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:flutter_clean_architecture/flutter_clean_architecture.dart that imports:
  • package:flutter_clean_architecture/src/background_usecase.dart that imports:
  • dart:isolate

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_clean_architecture/flutter_clean_architecture.dart that imports:
  • package:flutter_clean_architecture/src/background_usecase.dart that imports:
  • dart:isolate

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

WARNING: The member 'onDidChangeDependencies' can only be used for overriding.

lib/src/view.dart:156:17

    ╷
156 │     _controller.onDidChangeDependencies();
    │                 ^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/view.dart

WARNING: The member 'onInitState' can only be used for overriding.

lib/src/view.dart:164:17

    ╷
164 │     _controller.onInitState();
    │                 ^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/view.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
logging ^1.0.0 1.3.0 1.3.0
meta ^1.3.0 1.15.0 1.16.0
provider ^6.1.2 6.1.2 6.1.2
responsive_builder ^0.4.1 0.4.3 0.7.1
rxdart ^0.27.0 0.27.7 0.28.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
material_color_utilities - 0.11.1 0.12.0
nested - 1.0.0 1.0.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.4.1` on responsive_builder does not support the stable version `0.5.0`.

Try running dart pub upgrade --major-versions responsive_builder to update the constraint.

The constraint `^0.27.0` on rxdart does not support the stable version `0.28.0`.

Try running dart pub upgrade --major-versions rxdart to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.

398
likes
130
pub points
88%
popularity

Publisher

unverified uploader

A Flutter package that implements the Clean Architecture by Uncle Bob in Flutter. It provides Views, Controllers, Presenters, Observers, and UseCases.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

flutter, logging, meta, provider, responsive_builder, rxdart

More

Packages that depend on flutter_clean_architecture