fk_logs 2.0.0 copy "fk_logs: ^2.0.0" to clipboard
fk_logs: ^2.0.0 copied to clipboard

Loggy extension to use 'developer.log' with pretty printer in Flutter

0
likes
55/ 160
pub points
25
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Homepage URL is insecure.

Update the homepage field and use a secure (https) URL.

Repository URL is insecure.

Update the repository field and use a secure (https) URL.

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

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

`CHANGELOG.md` contains too many non-ASCII characters.

The site uses English as its primary language. The content of CHANGELOG.md in your package should primarily contain characters used in English.

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

44 out of 140 API elements (31.4 %) have documentation comments.

Some symbols that are missing documentation: fk_logs, fk_logs.DioLogs, fk_logs.DioLogs.loggy, fk_logs.Log, fk_logs.Log.Log.new.

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

Failed check 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

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

Found 28 issues. Showing the first 2:

ERROR: The getter 'headline6' isn't defined for the type 'TextTheme'.

lib/fk_logs/ui/widgets/loggy_stream_item_widget.dart:82:54

   ╷
82 │                   style: Theme.of(context).textTheme.headline6!.copyWith(
   │                                                      ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/fk_logs/ui/widgets/loggy_stream_item_widget.dart

ERROR: The getter 'subtitle1' isn't defined for the type 'TextTheme'.

lib/fk_logs/ui/widgets/loggy_stream_item_widget.dart:91:54

   ╷
91 │                   style: Theme.of(context).textTheme.subtitle1!.copyWith(
   │                                                      ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/fk_logs/ui/widgets/loggy_stream_item_widget.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
dio ^4.0.0 4.0.6 5.8.0+1
rxdart ^0.26.0 0.26.0 0.28.0
stack_trace >=1.10.0 <2.0.0 1.12.1 1.12.1
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.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_math - 2.1.4 2.1.5

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

The constraint `^4.0.0` on dio does not support the stable version `5.0.0`.

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

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

Try running dart pub upgrade --major-versions rxdart 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 7 errors:

  • UNDEFINED_GETTER - lib/fk_logs/ui/widgets/loggy_stream_item_widget.dart:82:54 - The getter 'headline6' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/fk_logs/ui/widgets/loggy_stream_item_widget.dart:91:54 - The getter 'subtitle1' isn't defined for the type 'TextTheme'.
  • UNDEFINED_GETTER - lib/fk_logs/ui/widgets/loggy_stream_item_widget.dart:122:48 - The getter 'bodyText2' isn't defined for the type 'TextTheme'.

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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
55
points
25
downloads

Publisher

verified publishertoutao.cloud

Weekly Downloads

Loggy extension to use 'developer.log' with pretty printer in Flutter

Documentation

API reference

License

MIT (license)

Dependencies

dio, flutter, rxdart, stack_trace

More

Packages that depend on fk_logs