Skip to content

feat: Permission handler #43

feat: Permission handler

feat: Permission handler #43

GitHub Actions / Analysis of flutter_template succeeded May 13, 2024 in 2m 15s

Package analysis results for flutter_template

Score

100/140 points
(71.42857142857143%)

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.

* `pubspec.yaml` doesn't have a `homepage` entry. * `pubspec.yaml` doesn't have a `repository` entry.

βœ” 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

761 out of 888 API elements (85.7 %) 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 39 issues. Showing the first 2:

/tmp/pana_SPLMES/lib/api/app_dio_configurator.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_SPLMES/lib/api/service/ip/ip_api.g.dart doesn't match the Dart formatter.

To format your files run: dart format .

Support up-to-date dependencies (10/20)

βœ” 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.1.3
cached_network_image 3.3.1 3.3.1 3.3.1
collection 1.18.0 1.18.0 1.18.0
dio 5.4.0 5.4.0 5.4.3+1
elementary 3.0.0 3.0.0 3.0.0
firebase_core 2.24.2 2.24.2 2.31.0
firebase_crashlytics 3.4.9 3.4.9 3.5.5
flutter flutter 0.0.0 0.0.0
flutter_easy_dialogs 3.2.0 3.2.0 3.2.0
flutter_localizations flutter 0.0.0 0.0.0
flutter_secure_storage 9.0.0 9.0.0 9.1.1
flutter_svg 2.0.9 2.0.9 2.0.10+1
freezed 2.4.7 2.4.7 2.5.2
freezed_annotation 2.4.1 2.4.1 2.4.1
fresh_dio 0.4.1 0.4.1 0.4.1
intl 0.18.1 0.18.1 0.19.0
json_annotation 4.8.1 4.8.1 4.9.0
logger 1.4.0 1.4.0 2.3.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.27.7
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
union_state 0.0.1 0.0.1 0.0.3
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 67.0.0 68.0.0
_flutterfire_internals - 1.3.16 1.3.33
analyzer - 6.4.1 6.5.0
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
build - 2.4.1 2.4.1
build_config - 1.1.1 1.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
checked_yaml - 2.0.3 2.0.3
clock - 1.1.1 1.1.1
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
dart_style - 2.3.6 2.3.6
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.0.0 5.0.0
firebase_core_web - 2.17.0 2.17.0
firebase_crashlytics_platform_interface - 3.6.16 3.6.33
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.0 3.1.0
flutter_secure_storage_platform_interface - 1.1.1 1.1.1
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.2 0.4.2
glob - 2.1.2 2.1.2
golden_toolkit - 0.15.0 0.15.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.7.1
leak_tracker - 10.0.0 10.0.5
leak_tracker_flutter_testing - 2.0.1 3.0.5
leak_tracker_testing - 2.0.1 3.0.1
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.11.1
meta - 1.11.0 1.15.0
octo_image - 2.0.0 2.0.0
package_config - 2.1.0 2.1.0
path_parsing - 1.0.1 1.0.1
path_provider_android - 2.2.4 2.2.4
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.2.1 2.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.2.3 1.2.3
shared_preferences_android - 2.2.2 2.2.2
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
source_gen - 1.5.0 1.5.0
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.2.0
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
test_api - 0.6.1 0.7.1
typed_data - 1.3.2 1.3.2
uuid - 4.4.0 4.4.0
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 - 13.0.0 14.2.2
watcher - 1.1.0 1.1.0
web - 0.5.1 0.5.1
win32 - 5.5.0 5.5.0
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0
yaml - 3.1.2 3.1.2

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

Found 18 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

Versions