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.

0
likes
80/ 140
pub points
0%
popularity

We analyzed this package 14 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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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, dart_board_theme.ThemeFeature.data, dart_board_theme.ThemeFeature.dependencies.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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
Pass static analysis
0 / 50trigger folding of the section

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

Found 7 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
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
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.4.1
flex_color_scheme ^6.1.2 6.1.2 7.3.1
flutter flutter 0.0.0 0.0.0
Transitive dependencies
Package Constraint Compatible Latest
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
flex_seed_scheme - 1.5.0 1.5.0
intl - 0.17.0 0.19.0
logging - 1.2.0 1.2.0
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.14.0
path - 1.9.0 1.9.0
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4

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.

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

Analyzed with Pana 0.22.3, Flutter 3.19.5, Dart 3.3.3.

Check the analysis log for details.

0
likes
80
pub points
0%
popularity

Publisher

verified publisherdart-board.io

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