vox_flex_theme 0.0.32 copy "vox_flex_theme: ^0.0.32" to clipboard
vox_flex_theme: ^0.0.32 copied to clipboard

The necessary methods to easily add a theme_controller for the flex_color_scheme, we do this so we can more easily introduce color themes and switch between them.

60/ 160
pub points
33
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/JonasESmith/vox_flex_theme was unreachable. Make sure that the website is reachable via HEAD requests.

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: MIT.

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

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

195 out of 1549 API elements (12.6 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: adaptive_theme, adaptive_theme, adaptive_theme.AdaptiveTheme, adaptive_theme.AdaptiveTheme, adaptive_theme.AdaptiveTheme.code.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed 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 does not support platform `Web`.

Because:

  • package:vox_flex_theme/vox_flex_theme.dart that imports:
  • package:vox_flex_theme/services/services.dart that imports:
  • package:vox_flex_theme/services/theme_service_hive.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
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 60 issues. Showing the first 2:

ERROR: A value of type 'String?' can't be returned from the method 'title' because it has a return type of 'String'.

lib/const/app.dart:29:48

   ╷
29 │   static String title(BuildContext context) => (context as Element).findAncestorWidgetOfExactType<MaterialApp>()!.title;
   │                                                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/services/theme_service_hive.dart:108:15

    ╷
108 │   /// If type <T> is not an atomic Dart type, there must be a
    │               ^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/services/theme_service_hive.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
flex_color_scheme ^7.3.1 7.3.1 8.4.0
google_fonts ^6.2.1 6.3.3 6.3.3
hive ^2.2.3 2.2.3 2.2.3
path_provider ^2.1.3 2.1.5 2.1.5
shared_preferences ^2.2.3 2.5.4 2.5.4
url_launcher ^6.3.0 6.3.2 6.3.2
vox_widgets ^0.1.12 0.1.36 0.1.36
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_dialog - 2.6.0 2.6.0
animations - 2.1.1 2.1.1
appkit_ui_element_colors - 1.0.1 1.0.1
async - 2.13.0 2.13.0
auto_size_text - 3.0.0 3.0.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
dynamic_color - 1.8.1 1.8.1
equatable - 2.0.7 2.0.7
fake_async - 1.3.3 1.3.3
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
flex_seed_scheme - 1.5.0 4.0.1
flutter_blurhash - 0.8.2 0.9.1
font_awesome_flutter - 10.12.0 10.12.0
gradient_borders - 1.0.2 1.0.2
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
intersperse - 2.0.0 2.0.0
leak_tracker - 11.0.2 11.0.2
leak_tracker_flutter_testing - 3.0.10 3.0.10
leak_tracker_testing - 3.0.2 3.0.2
macos_ui - 2.2.2 2.2.2
macos_window_utils - 1.9.0 1.9.0
matcher - 0.12.17 0.12.18
material_color_utilities - 0.11.1 0.13.0
meta - 1.17.0 1.17.0
nested - 1.0.0 1.0.0
package_info_plus - 8.3.1 9.0.0
package_info_plus_platform_interface - 3.2.1 3.2.1
path - 1.9.1 1.9.1
path_provider_android - 2.2.22 2.2.22
path_provider_foundation - 2.5.1 2.5.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5+1 6.1.5+1
responsive_builder - 0.7.1 0.7.1
shared_preferences_android - 2.4.18 2.4.18
shared_preferences_foundation - 2.5.6 2.5.6
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.7 0.7.8
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.28 6.3.28
url_launcher_ios - 6.3.6 6.3.6
url_launcher_linux - 3.2.2 3.2.2
url_launcher_macos - 3.2.5 3.2.5
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.5 3.1.5
vector_math - 2.2.0 2.2.0
very_good_analysis - 5.1.0 10.0.0
vm_service - 15.0.2 15.0.2
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0
xdg_directories - 1.1.0 1.1.0

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

The constraint `^7.3.1` on flex_color_scheme does not support the stable version `8.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 1 error:

  • RETURN_OF_INVALID_TYPE - lib/const/app.dart:29:48 - A value of type 'String?' can't be returned from the method 'title' because it has a return type of 'String'.

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.23.3, Flutter 3.38.4, Dart 3.10.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
60
points
33
downloads

Publisher

unverified uploader

Weekly Downloads

The necessary methods to easily add a theme_controller for the flex_color_scheme, we do this so we can more easily introduce color themes and switch between them.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flex_color_scheme, flutter, google_fonts, hive, path_provider, shared_preferences, url_launcher, vox_widgets

More

Packages that depend on vox_flex_theme