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

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

106
likes
140/ 160
pub points
92%
popularity

We analyzed this package 3 days ago, and awarded it 140 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

26 out of 47 API elements (55.3 %) 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

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS

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

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

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

Found 4 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:122:51

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

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

OK
Support up-to-date dependencies
40 / 40trigger folding of the section

10/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.5.0
get_it ^7.1.3 7.7.0 7.7.0
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.2.3 2.2.3
stacked_shared ^1.3.2 1.4.0 1.4.0
universal_io ^2.0.4 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
nested - 1.0.0 1.0.0
path - 1.9.0 1.9.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
platform - 3.1.5 3.1.5
plugin_platform_interface - 2.1.8 2.1.8
shared_preferences_android - 2.2.3 2.2.3
shared_preferences_foundation - 2.4.0 2.4.0
shared_preferences_linux - 2.3.2 2.3.2
shared_preferences_platform_interface - 2.3.2 2.3.2
shared_preferences_web - 2.3.0 2.3.0
shared_preferences_windows - 2.3.2 2.3.2
sky_engine - 0.0.99 0.0.99
typed_data - 1.3.2 1.3.2
vector_math - 2.1.4 2.1.4
web - 0.5.1 0.5.1
win32 - 5.5.1 5.5.1
xdg_directories - 1.0.4 1.0.4

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

The constraint `^0.27.1` on rxdart does not support the stable version `0.28.0`, that was published 0 days ago.

When rxdart is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions rxdart 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.6, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.