stacked_themes 0.3.13 copy "stacked_themes: ^0.3.13" to clipboard
stacked_themes: ^0.3.13 copied to clipboard

A set of classes to help you better manage Themes in flutter

109
likes
130/ 160
pub points
92%
popularity

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/Stacked-Org/framework/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

28 out of 49 API elements (57.1 %) have documentation comments.

Some symbols that are missing documentation: stacked_themes, stacked_themes.DarkTheme, stacked_themes.SelectedTheme, stacked_themes.ThemeBuilder.builder, stacked_themes.ThemeBuilder.darkTheme.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:stacked_themes/stacked_themes.dart that imports:
  • package:stacked_themes/src/theme_service.dart that imports:
  • package:stacked_themes/src/theme_manager.dart that imports:
  • package:stacked_themes/src/services/statusbar_service.dart that imports:
  • package:flutter_statusbarcolor_ns/flutter_statusbarcolor_ns.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:stacked_themes/stacked_themes.dart that imports:
  • package:stacked_themes/src/theme_service.dart that imports:
  • package:stacked_themes/src/theme_manager.dart that imports:
  • package:stacked_themes/src/services/statusbar_service.dart that imports:
  • package:flutter_statusbarcolor_ns/flutter_statusbarcolor_ns.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:stacked_themes/stacked_themes.dart that imports:
  • package:stacked_themes/src/theme_service.dart that imports:
  • package:stacked_themes/src/theme_manager.dart that imports:
  • package:stacked_themes/src/services/statusbar_service.dart that imports:
  • package:flutter_statusbarcolor_ns/flutter_statusbarcolor_ns.dart that declares support for platforms: Android, iOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:stacked_themes/stacked_themes.dart that imports:
  • package:stacked_themes/src/theme_service.dart that imports:
  • package:stacked_themes/src/theme_manager.dart that imports:
  • package:stacked_themes/src/services/platform_service.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 3 issues. Showing the first 2:

WARNING: Missing case clause for 'hidden'.

lib/src/theme_builder.dart:94:5

   ╷
94 │     switch (state) {
   │     ^^^^^^^^^^^^^^
   ╵

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

INFO: 'window' is deprecated and shouldn't be used. Look up the current FlutterView from the context via View.of(context) or consult the PlatformDispatcher directly instead. Deprecated to prepare for the upcoming multi-window support. This feature was deprecated after v3.7.0-32.0.pre.

lib/src/theme_manager.dart:253:49

    ╷
253 │           ambiguate(SchedulerBinding.instance)!.window.platformBrightness;
    │                                                 ^^^^^^
    ╵

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

failed
Support up-to-date dependencies
30 / 40trigger 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
flutter_statusbarcolor_ns ^0.5.0 0.5.0 0.6.0
get_it ^7.1.3 7.7.0 8.0.2
provider ^6.0.0 6.1.2 6.1.2
rxdart ^0.27.1 0.27.7 0.28.0
shared_preferences ^2.0.6 2.3.3 2.3.3
stacked_shared any 1.4.1 1.4.2
universal_io ^2.0.4 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
nested - 1.0.0 1.0.0
path - 1.9.1 1.9.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
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
sky_engine - 0.0.99 0.0.99
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

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

Found 3 issues. Showing the first 2:

The constraint `^0.5.0` on flutter_statusbarcolor_ns does not support the stable version `0.6.0`.

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

The constraint `^7.1.3` on get_it does not support the stable version `8.0.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.5, Dart 3.5.4.

Check the analysis log for details.