sa_shared_preference_lego 1.0.2 copy "sa_shared_preference_lego: ^1.0.2" to clipboard
sa_shared_preference_lego: ^1.0.2 copied to clipboard

Shared preference under simple architecture framework.

105/ 160
pub points
14
downloads

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

Failed report section
Follow Dart file conventions
25 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("1.0.2").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

242 out of 972 API elements (24.9 %) have documentation comments.

Some symbols that are missing documentation: _, _, _, _, _.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:sa_shared_preference_lego/app/backend/data_class/_new.dart that imports:
  • package:sa_shared_preference_lego/main.dart that imports:
  • package:june_flow_util/june_flow_util.dart that imports:
  • package:june_flow_util/component/floating_action_button_kit.dart that imports:
  • package:flutter_speed_dial/flutter_speed_dial.dart that imports:
  • package:flutter_speed_dial/src/speed_dial.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:sa_shared_preference_lego/app/backend/data_class/_new.dart that imports:
  • package:sa_shared_preference_lego/main.dart that imports:
  • package:june_flow_util/june_flow_util.dart that imports:
  • package:june_flow_util/component/floating_action_button_kit.dart that imports:
  • package:flutter_speed_dial/flutter_speed_dial.dart that imports:
  • package:flutter_speed_dial/src/speed_dial.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 report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 53 issues. Showing the first 2:

WARNING: The '!' will have no effect because the receiver can't be null.

lib/util/_/build_app/widget/material_app/_.dart:10:15

   ╷
10 │   return child!;
   │               ^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/util/_/build_app/widget/material_app/_.dart

INFO: Missing type annotation.

lib/app/backend/shared_preference/_new.dart:2024:10

     ╷
2024 │   static _ready() async {
     │          ^^^^^^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/app/backend/shared_preference/_new.dart

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
bot_toast any 4.1.3 4.1.3
flutter_screenutil any 5.9.3 5.9.3
flutter_svg any 2.2.3 2.2.3
flutter_zoom_drawer any 3.2.0 3.2.0
gap any 3.0.1 3.0.1
june_flow_util any 0.9.6 0.9.6
keyboard_attachable any 2.2.0 2.2.0
modal_bottom_sheet any 3.0.0 3.0.0
shared_preferences any 2.5.4 2.5.4
styled_widget any 0.4.1 0.4.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
flutter_keyboard_visibility - 5.4.1 6.0.0
flutter_keyboard_visibility_linux - 1.0.0 1.0.0
flutter_keyboard_visibility_macos - 1.0.0 1.0.0
flutter_keyboard_visibility_platform_interface - 2.0.0 2.0.0
flutter_keyboard_visibility_web - 2.0.0 2.0.0
flutter_keyboard_visibility_windows - 1.0.0 1.0.0
flutter_speed_dial - 7.0.0 7.0.0
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
lint - 1.10.0 2.8.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
page_transition - 2.2.1 2.2.1
path - 1.9.1 1.9.1
path_parsing - 1.1.0 1.1.0
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
petitparser - 7.0.1 7.0.1
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_graphics - 1.1.19 1.1.19
vector_graphics_codec - 1.1.13 1.1.13
vector_graphics_compiler - 1.1.19 1.1.19
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xdg_directories - 1.1.0 1.1.0
xml - 6.6.1 6.6.1

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 11 errors:

  • UNDEFINED_METHOD - lib/main.dart:35:11 - The method 'basicButton' isn't defined for the type 'InitView'.
  • UNDEFINED_ANNOTATION - lib/util/_/build_app/function/before_material_app/bot_toast_lego/_.dart:8:1 - Undefined name 'ReadyBeforeMaterialApp' used as an annotation.
  • UNDEFINED_ANNOTATION - lib/util/_/build_app/function/before_run_app/widget_binding_lego/_.dart:5:1 - Undefined name 'ReadyBeforeRunApp' used as an annotation.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: