fl_cloud_storage 0.3.3 copy "fl_cloud_storage: ^0.3.3" to clipboard
fl_cloud_storage: ^0.3.3 copied to clipboard

Store files in the cloud from Flutter apps. In the first step we only support Google Drive but adding other clouds is much appreciated.

140/ 160
pub points
98
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

80 out of 133 API elements (60.2 %) have documentation comments.

Some symbols that are missing documentation: authentication_tokens, authentication_tokens.AuthenticationTokens, authentication_tokens.AuthenticationTokens.AuthenticationTokens.new, cloud_file, cloud_file.CloudFile.CloudFile.new.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ macOS

  • ✓ Web

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:fl_cloud_storage/fl_cloud_storage.dart that imports:
  • package:fl_cloud_storage/fl_cloud_storage/vendor/google_drive/google_drive_service.dart that imports:
  • package:google_sign_in/google_sign_in.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:fl_cloud_storage/fl_cloud_storage.dart that imports:
  • package:fl_cloud_storage/fl_cloud_storage/vendor/google_drive/google_drive_service.dart that imports:
  • package:google_sign_in/google_sign_in.dart that declares support for platforms: Android, iOS, macOS, Web.

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:fl_cloud_storage/fl_cloud_storage.dart that imports:
  • package:fl_cloud_storage/fl_cloud_storage/vendor/storage_type.dart that imports:
  • package:fl_cloud_storage/fl_cloud_storage/cloud_storage_service.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:fl_cloud_storage/fl_cloud_storage.dart that imports:
  • package:fl_cloud_storage/fl_cloud_storage/vendor/storage_type.dart that imports:
  • package:fl_cloud_storage/fl_cloud_storage/cloud_storage_service.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

INFO: The import of 'package:fl_cloud_storage/fl_cloud_storage/vendor/google_drive/too_many_requests_error.dart' is unnecessary because all of the used elements are also provided by the import of 'package:fl_cloud_storage/fl_cloud_storage.dart'.

lib/fl_cloud_storage/vendor/google_drive/google_drive_service.dart:5:8

  ╷
5 │ import 'package:fl_cloud_storage/fl_cloud_storage/vendor/google_drive/too_many_requests_error.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/fl_cloud_storage/vendor/google_drive/google_drive_service.dart

/tmp/pana_KJMPLX/lib/fl_cloud_storage.dart doesn't match the Dart formatter.

To format your files run: dart format .

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
google_sign_in >=6.3.0 <7.0.0 6.3.0 7.2.0
googleapis >=14.0.0 15.0.0 15.0.0
http >=1.1.0 1.5.0 1.5.0
json_annotation >=4.7.0 4.9.0 4.9.0
logger >=1.1.0 2.6.2 2.6.2
Transitive dependencies
Package Constraint Compatible Latest Notes
_discoveryapis_commons - 1.0.7 1.0.7
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
google_identity_services_web - 0.3.3+1 0.3.3+1
google_sign_in_android - 6.2.1 7.2.2
google_sign_in_ios - 5.9.0 6.2.1
google_sign_in_platform_interface - 2.5.0 3.1.0
google_sign_in_web - 0.12.4+4 1.1.0
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1

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

The constraint `>=6.3.0 <7.0.0` on google_sign_in does not support the stable version `7.0.0`.

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

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

Passed check 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.

Weekly downloads

Display as:
By versions:
9
likes
140
points
98
downloads

Publisher

verified publisherehwplus.com

Weekly Downloads

Store files in the cloud from Flutter apps. In the first step we only support Google Drive but adding other clouds is much appreciated.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

flutter, google_sign_in, googleapis, http, json_annotation, logger

More

Packages that depend on fl_cloud_storage