dart_board_theme 0.9.5+7 copy "dart_board_theme: ^0.9.5+7" to clipboard
dart_board_theme: ^0.9.5+7 copied to clipboard

Basic theme selection for dart-board, allows changing between dark/light themes programmatically or through a /theme route.

80/ 160
pub points
5
downloads

We analyzed this package 2 days ago, and awarded it 80 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.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

12 out of 27 API elements (44.4 %) have documentation comments.

Some symbols that are missing documentation: dart_board_theme, dart_board_theme.ThemeFeature, dart_board_theme.ThemeFeature.ThemeFeature.new, dart_board_theme.ThemeFeature.data, dart_board_theme.ThemeFeature.dependencies.

Passed check 10/10 points: Package has an example

Failed 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:dart_board_theme/dart_board_theme.dart that imports:
  • package:dart_board_theme/theme_builder.dart that imports:
  • package:dart_board_core/dart_board_core.dart that imports:
  • package:dart_board_core/impl/dart_board_core.dart that imports:
  • dart:io

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 15 issues. Showing the first 2:

ERROR: The getter 'primaryVariant' isn't defined for the type 'ColorScheme'.

lib/theme_builder.dart:22:48

   ╷
22 │     'primaryVariant': initialTheme.colorScheme.primaryVariant,
   │                                                ^^^^^^^^^^^^^^
   ╵

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

ERROR: The getter 'secondaryVariant' isn't defined for the type 'ColorScheme'.

lib/theme_builder.dart:24:50

   ╷
24 │     'secondaryVariant': initialTheme.colorScheme.secondaryVariant,
   │                                                  ^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/theme_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
dart_board_core ^0.9.16+7 0.9.16+7 0.9.16+7
dart_board_widgets ^1.10.0 1.10.0 1.10.0
flex_color_picker ^3.1.0 3.4.1 3.7.1
flex_color_scheme ^6.1.2 6.1.2 8.3.0
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
flex_seed_scheme - 1.5.0 3.5.1
intl - 0.17.0 0.20.2
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
vector_math - 2.2.0 2.2.0

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

The constraint `^6.1.2` on flex_color_scheme does not support the stable version `7.0.0`.

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

  • UNDEFINED_GETTER - lib/theme_builder.dart:22:48 - The getter 'primaryVariant' isn't defined for the type 'ColorScheme'.
  • UNDEFINED_GETTER - lib/theme_builder.dart:24:50 - The getter 'secondaryVariant' isn't defined for the type 'ColorScheme'.
  • UNDEFINED_NAMED_PARAMETER - lib/theme_builder.dart:42:9 - The named parameter 'primaryVariant' isn't defined.

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.23, Flutter 3.35.5, Dart 3.9.2.

Check the analysis log for details.

Weekly downloads

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

Publisher

verified publisherdart-board.io

Weekly Downloads

Basic theme selection for dart-board, allows changing between dark/light themes programmatically or through a /theme route.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dart_board_core, dart_board_widgets, flex_color_picker, flex_color_scheme, flutter

More

Packages that depend on dart_board_theme