butter 2.5.0 copy "butter: ^2.5.0" to clipboard
butter: ^2.5.0 copied to clipboard

A thin application framework for flutter making use of async_redux

7
likes
130/ 160
pub points
219
downloads

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

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

10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://applybutter.com was unreachable. Make sure that the website is reachable via HEAD requests.

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

353 out of 654 API elements (54.0 %) have documentation comments.

Some symbols that are missing documentation: butter.ActionObserver, butter.ActionObserver.ActionObserver, butter.ActionStatus, butter.ActionStatus.ActionStatus, butter.ActionStatus.copy.

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 does not support platform `Web`.

Because:

  • package:butter/butter.dart that imports:
  • package:butter/src/app_persistor.dart that imports:
  • package:async_redux/local_persist.dart that imports:
  • package:async_redux/src/local_persist.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:butter/butter.dart that imports:
  • package:butter/src/butter.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

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 5 issues. Showing the first 2:

WARNING: This default clause is covered by the previous cases.

lib/src/butter.dart:145:7

    ╷
145 │       default:
    │       ^^^^^^^
    ╵

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

INFO: The type parameter 'Model' shadows a type parameter from the enclosing class.

lib/src/base_page_state.dart:28:14

   ╷
28 │   Model read<Model extends BaseUIModel>(Model defaultModel) =>
   │              ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/base_page_state.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
async_redux ^21.0.1 21.7.1 24.0.2
butter_commons ^2.5.0 2.6.0 2.6.0
flutter flutter 0.0.0 0.0.0
logger ^2.0.2+1 2.5.0 2.5.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
fast_immutable_collections - 10.2.4 11.0.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
intl - 0.19.0 0.20.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
vector_math - 2.1.4 2.1.4
weak_map - 3.0.1 4.0.0
xdg_directories - 1.1.0 1.1.0

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

The constraint `^21.0.1` on async_redux does not support the stable version `22.0.0`.

Try running dart pub upgrade --major-versions async_redux 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

7
likes
130
points
219
downloads

Publisher

verified publisherzoogtech.com

Weekly Downloads

A thin application framework for flutter making use of async_redux

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async_redux, butter_commons, flutter, logger

More

Packages that depend on butter