m3_adaptive_theme 1.0.0
m3_adaptive_theme: ^1.0.0 copied to clipboard
Effortlessly integrate Material 3 (Material You) adaptive theming into Flutter apps with dynamic color extraction, smart dark/light mode, and platform-aware features.
We analyzed this package 7 hours ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/Liv-Coder/M3AdaptiveTheme
was unreachable. Make sure that the website is reachable via HEAD
requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/Liv-Coder/M3AdaptiveTheme
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
150 out of 169 API elements (88.8 %) have documentation comments.
Some symbols that are missing documentation: m3_adaptive_theme.AccessibilityUtils.AccessibilityUtils.new
, m3_adaptive_theme.ColorBlindnessUtils.ColorBlindnessUtils.new
, m3_adaptive_theme.M3Constants.M3Constants.new
, m3_adaptive_theme.M3Constants.fastAnimationDuration
, m3_adaptive_theme.M3Constants.radiusExtra
.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:m3_adaptive_theme/m3_adaptive_theme.dart
that imports:package:m3_adaptive_theme/src/widgets/theme_preset_dialog.dart
that imports:package:m3_adaptive_theme/src/theme_manager.dart
that imports:package:m3_adaptive_theme/src/color/extraction_service.dart
that imports:package:dynamic_color/dynamic_color.dart
that declares support for platforms:Android
,Windows
,Linux
,macOS
.
Package does not support platform `Web`.
Because:
package:m3_adaptive_theme/m3_adaptive_theme.dart
that imports:package:m3_adaptive_theme/src/widgets/theme_preset_dialog.dart
that imports:package:m3_adaptive_theme/src/theme_manager.dart
that imports:package:m3_adaptive_theme/src/color/extraction_service.dart
that imports:package:dynamic_color/dynamic_color.dart
that declares support for platforms:Android
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:m3_adaptive_theme/m3_adaptive_theme.dart
that imports:package:m3_adaptive_theme/src/utils/platform_utils.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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 23 issues. Showing the first 2:
INFO: 'value' is deprecated and shouldn't be used. Use component accessors like .r or .g, or toARGB32 for an explicit conversion.
lib/src/models/theme_preset.dart:76:30
╷
76 │ 'seedColor': seedColor.value,
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/theme_preset.dart
INFO: 'withOpacity' is deprecated and shouldn't be used. Use .withValues() to avoid precision loss.
lib/src/utils/accessibility.dart:80:22
╷
80 │ return baseColor.withOpacity(opacity);
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils/accessibility.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cross_file |
^0.3.4 |
0.3.4+2 | 0.3.4+2 | |
dynamic_color |
^1.7.0 |
1.8.1 | 1.8.1 | |
file_picker |
^9.2.1 |
9.2.3 | 10.3.3 | |
get_it |
^8.0.3 |
8.2.0 | 8.2.0 | |
http |
^1.3.0 |
1.5.0 | 1.5.0 | |
shared_preferences |
^2.5.2 |
2.5.3 | 2.5.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.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 | |
fake_async |
- | 1.3.3 | 1.3.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
flutter_plugin_android_lifecycle |
- | 2.0.32 | 2.0.32 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
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 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.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.4.15 | 2.4.15 | |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 | |
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.6 | 0.7.7 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.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 `^9.2.1` on file_picker does not support the stable version `10.0.0`.
Try running dart pub upgrade --major-versions file_picker
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.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.