feat(SNP-1717): Add tailor - ThemeExtension generator #52
Package analysis results for flutter_template
Score
120/160 points
(75.0%)
Supported platforms
- Flutter
android
ios
macos
Details
Follow Dart file conventions (20/30)
β 0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
β 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
.
Provide documentation (10/20)
β 10/10 points: 20% or more of the public API has dartdoc comments
729 out of 859 API elements (84.9 %) have documentation comments.
Some symbols that are missing documentation: analytic_event
, animated_press_scale
, api_failure
, app
, app_alert
.
β 0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
Platform support (20/20)
β 20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- β Android
- β iOS
- β macOS
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:flutter_template/common/utils/logger/strategies/crashlytics_log_strategy.dart
that imports:package:firebase_crashlytics/firebase_crashlytics.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package does not support platform `Linux`.
Because:
package:flutter_template/common/utils/logger/strategies/crashlytics_log_strategy.dart
that imports:package:firebase_crashlytics/firebase_crashlytics.dart
that declares support for platforms:Android
,iOS
,macOS
.
Package not compatible with platform Web
Because:
package:flutter_template/api/app_dio_configurator.dart
that imports:package:dio/io.dart
that imports:package:dio/src/dio/dio_for_native.dart
that imports:package:dio/src/adapters/io_adapter.dart
that imports:dart:io
Pass static analysis (40/50)
β 40/50 points: code has no errors, warnings, lints, or formatting issues
Found 44 issues. Showing the first 2:
INFO: 'background' is deprecated and shouldn't be used. Use surface instead. This feature was deprecated after v3.18.0-0.1.pre.
lib/uikit/themes/app_theme_data.dart:21:7
β·
21 β background: _lightColorScheme.background,
β ^^^^^^^^^^
β΅
To reproduce make sure you are using the lints_core and run flutter analyze lib/uikit/themes/app_theme_data.dart
INFO: 'onBackground' is deprecated and shouldn't be used. Use onSurface instead. This feature was deprecated after v3.18.0-0.1.pre.
lib/uikit/themes/app_theme_data.dart:22:7
β·
22 β onBackground: _lightColorScheme.onBackground,
β ^^^^^^^^^^^^
β΅
To reproduce make sure you are using the lints_core and run flutter analyze lib/uikit/themes/app_theme_data.dart
Support up-to-date dependencies (30/40)
β 0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
analytics |
2.0.0 |
2.0.0 | 2.0.3 |
auto_route |
7.8.4 |
7.8.4 | 8.3.0 |
cached_network_image |
3.3.1 |
3.3.1 | 3.3.1 |
collection |
1.18.0 |
1.18.0 | 1.19.0 |
dio |
5.4.0 |
5.4.0 | 5.5.0+1 |
elementary |
3.0.0 |
3.0.0 | 3.0.0 |
firebase_core |
2.24.2 |
2.24.2 | 3.2.0 |
firebase_crashlytics |
3.4.9 |
3.4.9 | 4.0.3 |
flutter |
flutter |
0.0.0 | 0.0.0 |
flutter_easy_dialogs |
3.2.0 |
3.2.0 | 4.0.1 |
flutter_localizations |
flutter |
0.0.0 | 0.0.0 |
flutter_secure_storage |
9.0.0 |
9.0.0 | 9.2.2 |
flutter_svg |
2.0.9 |
2.0.9 | 2.0.10+1 |
freezed_annotation |
2.4.1 |
2.4.1 | 2.4.4 |
fresh_dio |
0.4.1 |
0.4.1 | 0.4.2 |
intl |
any |
0.19.0 | 0.19.0 |
json_annotation |
4.8.1 |
4.8.1 | 4.9.0 |
logger |
1.4.0 |
1.4.0 | 2.4.0 |
mask_text_input_formatter |
2.9.0 |
2.9.0 | 2.9.0 |
nested |
1.0.0 |
1.0.0 | 1.0.0 |
path |
1.9.0 |
1.9.0 | 1.9.0 |
path_provider |
2.1.2 |
2.1.2 | 2.1.3 |
provider |
6.1.1 |
6.1.1 | 6.1.2 |
retrofit |
4.0.3 |
4.0.3 | 4.1.0 |
rxdart |
0.27.7 |
0.27.7 | 0.28.0 |
shared_preferences |
2.2.2 |
2.2.2 | 2.2.3 |
shimmer |
3.0.0 |
3.0.0 | 3.0.0 |
surf_logger |
2.0.0 |
2.0.0 | 2.0.2 |
surf_widget_test_composer |
0.0.2 |
0.0.2 | 0.0.6 |
theme_tailor_annotation |
3.0.1 |
3.0.1 | 3.0.1 |
union_state |
0.0.1 |
0.0.1 | 0.0.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
_flutterfire_internals |
- | 1.3.16 | 1.3.39 |
args |
- | 2.5.0 | 2.5.0 |
async |
- | 2.11.0 | 2.11.0 |
boolean_selector |
- | 2.1.1 | 2.1.1 |
cached_network_image_platform_interface |
- | 4.0.0 | 4.0.0 |
cached_network_image_web |
- | 1.2.0 | 1.2.0 |
characters |
- | 1.3.0 | 1.3.0 |
clock |
- | 1.1.1 | 1.1.1 |
crypto |
- | 3.0.3 | 3.0.3 |
fake_async |
- | 1.3.1 | 1.3.1 |
ffi |
- | 2.1.2 | 2.1.2 |
file |
- | 7.0.0 | 7.0.0 |
firebase_core_platform_interface |
- | 5.1.0 | 5.1.0 |
firebase_core_web |
- | 2.17.3 | 2.17.3 |
firebase_crashlytics_platform_interface |
- | 3.6.16 | 3.6.39 |
fixnum |
- | 1.1.0 | 1.1.0 |
flutter_cache_manager |
- | 3.3.1 | 3.3.2 |
flutter_secure_storage_linux |
- | 1.2.1 | 1.2.1 |
flutter_secure_storage_macos |
- | 3.1.2 | 3.1.2 |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 1.1.2 |
flutter_secure_storage_web |
- | 1.2.1 | 1.2.1 |
flutter_secure_storage_windows |
- | 3.1.2 | 3.1.2 |
flutter_test |
- | 0.0.0 | 0.0.0 |
flutter_web_plugins |
- | 0.0.0 | 0.0.0 |
fresh |
- | 0.4.3 | 0.4.3 |
golden_toolkit |
- | 0.15.0 | 0.15.0 |
http |
- | 1.2.2 | 1.2.2 |
http_parser |
- | 4.0.2 | 4.1.0 |
js |
- | 0.6.7 | 0.7.1 |
leak_tracker |
- | 10.0.4 | 10.0.5 |
leak_tracker_flutter_testing |
- | 3.0.3 | 3.0.5 |
leak_tracker_testing |
- | 3.0.1 | 3.0.1 |
matcher |
- | 0.12.16+1 | 0.12.16+1 |
material_color_utilities |
- | 0.8.0 | 0.12.0 |
meta |
- | 1.12.0 | 1.15.0 |
octo_image |
- | 2.0.0 | 2.0.0 |
path_parsing |
- | 1.0.1 | 1.0.1 |
path_provider_android |
- | 2.2.7 | 2.2.7 |
path_provider_foundation |
- | 2.4.0 | 2.4.0 |
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 |
petitparser |
- | 6.0.2 | 6.0.2 |
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.4.0 | 2.4.0 |
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 |
source_span |
- | 1.10.0 | 1.10.0 |
sprintf |
- | 7.0.0 | 7.0.0 |
sqflite |
- | 2.3.3+1 | 2.3.3+1 |
sqflite_common |
- | 2.5.4 | 2.5.4 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.2.0 | 1.3.0 |
synchronized |
- | 3.1.0+1 | 3.1.0+1 |
term_glyph |
- | 1.2.1 | 1.2.1 |
test_api |
- | 0.7.0 | 0.7.3 |
typed_data |
- | 1.3.2 | 1.3.2 |
uuid |
- | 4.4.2 | 4.4.2 |
vector_graphics |
- | 1.1.11+1 | 1.1.11+1 |
vector_graphics_codec |
- | 1.1.11+1 | 1.1.11+1 |
vector_graphics_compiler |
- | 1.1.11+1 | 1.1.11+1 |
vector_math |
- | 2.1.4 | 2.1.4 |
vm_service |
- | 14.2.1 | 14.2.4 |
web |
- | 0.5.1 | 1.0.0 |
win32 |
- | 5.5.1 | 5.5.1 |
xdg_directories |
- | 1.0.4 | 1.0.4 |
xml |
- | 6.5.0 | 6.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 21 issues. Showing the first 2:
The constraint `2.0.0` on analytics does not support the stable version `2.0.1`.
Try running dart pub upgrade --major-versions analytics
to update the constraint.
The constraint `7.8.4` on auto_route does not support the stable version `7.8.5`.
Try running dart pub upgrade --major-versions auto_route
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.
Versions
- Pana: 0.22.9
- Dart: 3.4.4
- Flutter: 3.22.3