littlefish_core 1.2.0 copy "littlefish_core: ^1.2.0" to clipboard
littlefish_core: ^1.2.0 copied to clipboard

The littlefish_core library used for common functionality in all littlefish mobile applications.

80/ 160
pub points
315
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

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

Repository URL doesn't exist.

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

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

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

Failed check 0/10 points: Use an OSI-approved license

No license was recognized.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

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

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

43 out of 786 API elements (5.5 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: analytics_event, analytics_event.AnalyticsEvent.AnalyticsEvent.new, analytics_event.AnalyticsEvent.name, analytics_event.AnalyticsEvent.parameters, analytics_service.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 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:littlefish_core/analytics/services/analytics_service.dart that imports:
  • package:littlefish_core/core/littlefish_core.dart that imports:
  • package:littlefish_core/logging/default_logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io
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 18 issues. Showing the first 2:

WARNING: The value of the field '_alignment' isn't used.

lib/hardware/printers/models/printer_content_builder.dart:14:24

   ╷
14 │   PrinterTextAlignment _alignment = PrinterTextAlignment.left;
   │                        ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/hardware/printers/models/printer_content_builder.dart

WARNING: The value of the field '_fontSize' isn't used.

lib/hardware/printers/models/printer_content_builder.dart:15:7

   ╷
15 │   int _fontSize = 1;
   │       ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/hardware/printers/models/printer_content_builder.dart

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

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

Package Constraint Compatible Latest Notes
crypto ^3.0.3 3.0.7 3.0.7
dio ^5.4.1 5.9.1 5.9.1
dio_brotli_transformer ^2.0.0 2.0.0 2.0.0
get_it ^7.6.7 7.7.0 9.2.1
logger ^2.5.0 2.6.2 2.6.2
uuid ^4.5.1 4.5.3 4.5.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
brotli - 0.6.0 0.6.0
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.1 2.1.1
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
mime - 2.0.0 2.0.0
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
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_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1

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

The constraint `^7.6.7` on get_it does not support the stable version `8.0.0`.

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

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 4 errors:

  • UNDEFINED_METHOD - lib/core/littlefish_core.dart:94:19 - The method 'getAll' isn't defined for the type 'GetIt'.
  • UNDEFINED_METHOD - lib/core/littlefish_core.dart:162:34 - The method 'getAll' isn't defined for the type 'GetIt'.
  • UNDEFINED_METHOD - lib/core/littlefish_core.dart:179:33 - The method 'getAll' isn't defined for the type 'GetIt'.

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.10, Flutter 3.41.0, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
80
points
315
downloads

Publisher

verified publisherlittlefishapp.com

Weekly Downloads

The littlefish_core library used for common functionality in all littlefish mobile applications.

Homepage
Repository (GitHub)

Documentation

API reference

License

unknown (license)

Dependencies

crypto, dio, dio_brotli_transformer, flutter, get_it, logger, uuid

More

Packages that depend on littlefish_core