json_theme 2.1.1 copy "json_theme: ^2.1.1" to clipboard
json_theme: ^2.1.1 copied to clipboard

outdated

A library to dynamically generate a ThemeData object from a JSON file or dynamic map object

89
likes
80/ 140
pub points
96%
popularity

We analyzed this package 32 hours ago, and awarded it 80 pub points (of a possible 140):

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

297 out of 896 API elements (33.1 %) have documentation comments.

Some symbols that are missing documentation: json_theme, json_theme_schemas, json_theme_schemas.AlignmentSchema, json_theme_schemas.AlignmentSchema.AlignmentSchema, json_theme_schemas.AlignmentSchema.id.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 88 issues. Showing the first 2:

ERROR: The named parameter 'backwardsCompatibility' isn't defined.

lib/src/codec/theme_decoder.dart:160:9

    ╷
160 │         backwardsCompatibility: value['backwardsCompatibility'] == null
    │         ^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/codec/theme_decoder.dart

ERROR: The named parameter 'brightness' isn't defined.

lib/src/codec/theme_decoder.dart:165:9

    ╷
165 │         brightness: decodeBrightness(
    │         ^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/codec/theme_decoder.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
flutter flutter 0.0.0 0.0.0
json_class ^2.0.0 2.2.2+1 3.0.0+13
json_schema2 ^2.0.0+1 2.0.4+9 5.1.3
meta ^1.3.0 1.11.0 1.15.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
fixnum - 1.1.0 1.1.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
intl - 0.18.1 0.19.0
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
path - 1.9.0 1.9.0
quiver - 3.2.1 3.2.1
rest_client - 2.4.0 2.4.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.1
typed_data - 1.3.2 1.3.2
uri - 1.0.0 1.0.0
uuid - 4.4.0 4.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
yaml - 3.1.2 3.1.2
yaon - 1.1.4+9 1.1.4+9

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

The constraint `^2.0.0` on json_class does not support the stable version `3.0.0`.

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

The constraint `^2.0.0+1` on json_schema2 does not support the stable version `5.1.2`.

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

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

Analyzed with Pana 0.22.3, Flutter 3.19.6, Dart 3.3.4.

Check the analysis log for details.

89
likes
80
pub points
96%
popularity

Publisher

verified publisherpeifferinnovations.com

A library to dynamically generate a ThemeData object from a JSON file or dynamic map object

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, json_class, json_schema2, meta

More

Packages that depend on json_theme