file_saver 0.4.0 copy "file_saver: ^0.4.0" to clipboard
file_saver: ^0.4.0 copied to clipboard

Save files from bytes, paths, streams, and URLs across Android, iOS, Web, Windows, macOS, and Linux.

150/ 160
pub points
222k
downloads

We analyzed this package 26 hours ago, and awarded it 150 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: BSD-3-Clause.

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

10 out of 35 API elements (28.6 %) have documentation comments.

Some symbols that are missing documentation: file_saver, file_saver.FileSaver, file_saver.FileSaver.FileSaver.new, file_saver.FileSaver.directory, file_saver.FileSaver.saveFileOnly.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

Partially passed check 10/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ 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:file_saver/file_saver.dart that imports:
  • package:file_saver/src/web_stream_saver_stub.dart that imports:
  • package:file_saver/src/models/link_details.dart that imports:
  • package:dio/dio.dart that imports:
  • package:dio/src/transformer.dart that imports:
  • package:dio/src/transformers/sync_transformer.dart that imports:
  • package:dio/src/options.dart that imports:
  • package:dio/src/adapter.dart that imports:
  • package:dio/src/adapters/io_adapter.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:file_saver/file_saver.dart that imports:
  • package:file_saver/src/web_stream_saver_stub.dart that imports:
  • package:file_saver/src/models/link_details.dart that imports:
  • package:dio/dio.dart that imports:
  • package:dio/src/transformer.dart that imports:
  • package:dio/src/transformers/sync_transformer.dart that imports:
  • package:dio/src/options.dart that imports:
  • package:dio/src/adapter.dart that imports:
  • package:dio/src/adapters/io_adapter.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. See https://dart.dev/web/wasm for details.

Swift PM-ready: This iOS or macOS plugin supports the Swift Package Manager. See https://docs.flutter.dev/to/spm for details.

Built-in Kotlin support:

Legacy Kotlin configuration detected in `android/build.gradle`.

This plugin applies the Kotlin Gradle Plugin (KGP) or uses the android.kotlinOptions{} block.

Note: This Android plugin does not support built-in Kotlin. In the future, this might affect scoring. See https://docs.flutter.dev/release/breaking-changes/migrate-to-built-in-kotlin/for-plugin-authors for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest Notes
collection ^1.19.1 1.19.1 1.19.1
dio ^5.9.2 5.9.2 5.9.2
path_provider ^2.1.5 2.1.6 2.1.6
web ^1.1.1 1.1.1 1.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
code_assets - 1.2.1 1.2.1
crypto - 3.0.7 3.0.7
dio_web_adapter - 2.1.2 2.1.2
ffi - 2.2.0 2.2.0
hooks - 2.0.2 2.0.2
http_parser - 4.1.2 4.1.2
jni - 1.0.0 1.0.0
jni_flutter - 1.0.1 1.0.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.0
meta - 1.18.0 1.18.3
mime - 2.0.0 2.0.0
objective_c - 9.4.1 9.4.1
package_config - 2.2.0 3.0.0
path - 1.9.1 1.9.1
path_provider_android - 2.3.1 2.3.1
path_provider_foundation - 2.6.0 2.6.0
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
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
pub_semver - 2.2.0 2.2.0
record_use - 0.6.0 0.6.0
source_span - 1.10.2 1.10.2
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.4.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

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.23.13, Flutter 3.44.3, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
497
likes
150
points
222k
downloads

Documentation

API reference

Publisher

verified publisherhassanansari.dev

Weekly Downloads

Save files from bytes, paths, streams, and URLs across Android, iOS, Web, Windows, macOS, and Linux.

Homepage
Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

collection, dio, flutter, flutter_web_plugins, path_provider, web

More

Packages that depend on file_saver

Packages that implement file_saver