fl_cloud_storage 0.1.0 copy "fl_cloud_storage: ^0.1.0" to clipboard
fl_cloud_storage: ^0.1.0 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.

7
likes
130/ 160
pub points
73
downloads

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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

74 out of 118 API elements (62.7 %) have documentation comments.

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

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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/file_output_stub.dart that imports:
  • dart:io

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/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.dev/web/wasm for details.

OK
Pass static analysis
50 / 50trigger folding of the section

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

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

0/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
google_sign_in >=5.4.3 <=6.2.1 6.2.1 6.2.2
googleapis >=9.2.0 <=13.1.0 13.1.0 13.2.0
http >=0.11.3 <=1.1.0 1.1.0 1.2.2
json_annotation >=4.7.0 <=4.8.1 4.8.1 4.9.0
logger >=1.1.0 <=2.2.0 2.2.0 2.5.0
Transitive dependencies
Package Constraint Compatible Latest
_discoveryapis_commons - 1.0.7 1.0.7
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
collection - 1.19.0 1.19.1
flutter_web_plugins - 0.0.0 0.0.0
google_identity_services_web - 0.3.3 0.3.3
google_sign_in_android - 6.1.34 6.1.34
google_sign_in_ios - 5.7.8 5.7.8
google_sign_in_platform_interface - 2.4.5 2.4.5
google_sign_in_web - 0.12.4+3 0.12.4+3
http_parser - 4.1.1 4.1.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.0 0.0.0
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.1.4 2.1.4
web - 1.1.0 1.1.0

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

Found 5 issues. Showing the first 2:

The constraint `>=5.4.3 <=6.2.1` on google_sign_in does not support the stable version `6.2.2`.

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

The constraint `>=9.2.0 <=13.1.0` on googleapis does not support the stable version `13.2.0`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_METHOD - lib/fl_cloud_storage/vendor/google_drive/google_drive_service.dart:112:28 - The method 'canAccessScopes' isn't defined for the type 'GoogleSignIn'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

7
likes
130
points
73
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