im_themed 0.0.5 copy "im_themed: ^0.0.5" to clipboard
im_themed: ^0.0.5 copied to clipboard

package for parsing flutter theme from json, with support for css like syntax

130/ 160
pub points
43
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

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

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

Detected license: BSD-3-Clause.

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

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

OUT: Documenting im_themed... Discovering libraries... Linking elements... Precaching local docs for 655001 elements... Initialized dartdoc with 864 libraries Generating docs for library im_themed.dart from package:im_themed/im_themed.dart... Generating docs for library im_multi_themed.dart from package:im_themed/im_multi_themed.dart... Generating docs for library third-party/csslib/visitor.dart from package:im_themed/third-party/csslib/visitor.dart... Generating docs for library third-party/csslib/parser.dart from package:im_themed/third-party/csslib/parser.dart... Generating docs for library third-party/csslib/src/preprocessor_options.dart from package:im_themed/third-party/csslib/src/preprocessor_options.dart... [3 more lines] ERR: warning: ambiguous reexport of theme_data_json_converter.ThemeDataJsonConverterExtension, canonicalization candidates: (im_themed, im_themed) -> im_themed (confidence 0.000) from theme_data_json_converter.ThemeDataJsonConverterExtension: (file:///tmp/pana_ROJEOP/lib/src/converters/theme_data_json_converter.dart:59:11) im_themed: 2.177 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) im_themed: 2.177 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) Use {@canonicalFor theme_data_json_converter.ThemeDataJsonConverterExtension} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library [106 more lines]

Passed check 10/10 points: Package has an example

Passed 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

WASM-ready: This package is compatible with runtime wasm. 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 70 issues. Showing the first 2:

WARNING: The value of the local variable 'styleSheet' isn't used.

lib/third-party/csslib/src/analyzer.dart:34:14

   ╷
34 │     for (var styleSheet in _styleSheets) {
   │              ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/third-party/csslib/src/analyzer.dart

WARNING: The value of the local variable 'styleSheet' isn't used.

lib/third-party/csslib/src/analyzer.dart:39:14

   ╷
39 │     for (var styleSheet in _styleSheets) {
   │              ^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/third-party/csslib/src/analyzer.dart

Passed report section
Support up-to-date dependencies
40 / 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
json_annotation ^4.8.1 4.11.0 4.11.0
source_span ^1.9.1 1.10.2 1.10.2
tuple ^2.0.1 2.0.2 2.0.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.1 1.4.1
collection - 1.19.1 1.19.1
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.1
path - 1.9.1 1.9.1
term_glyph - 1.2.2 1.2.2
vector_math - 2.2.0 2.2.0

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.10, Flutter 3.41.2, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
130
points
43
downloads

Publisher

unverified uploader

Weekly Downloads

package for parsing flutter theme from json, with support for css like syntax

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, json_annotation, source_span, tuple

More

Packages that depend on im_themed