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

A thin application framework for flutter making use of async_redux

7
likes
140/ 160
pub points
219
downloads

We analyzed this package 8 days ago, and awarded it 140 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

317 out of 620 API elements (51.1 %) have documentation comments.

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

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/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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

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

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

lib/src/base_page_state.dart:37:16

   ╷
37 │   Model mutate<Model extends BaseUIModel>(
   │                ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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 ^15.0.0 15.0.0 24.0.2
flutter flutter 0.0.0 0.0.0
logger ^1.1.0 1.4.0 2.5.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
fast_immutable_collections - 7.4.3 11.0.0
ffi - 2.1.3 2.1.3
file - 6.1.4 7.0.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 - 2.1.0 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 `^15.0.0` on async_redux does not support the stable version `16.0.0`.

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

The constraint `^1.1.0` on logger does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions logger 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
140
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, flutter, logger

More

Packages that depend on butter