universal_file 1.0.0 copy "universal_file: ^1.0.0" to clipboard
universal_file: ^1.0.0 copied to clipboard

discontinuedreplaced by: cross_file

Cross-platform File & Directory that works in all platforms (browsers, Flutter, and VM)

120/ 160
pub points
92.8k
downloads

We analyzed this package 11 days ago, and awarded it 120 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

packages/universal_file/pubspec.yaml from the repository URL mismatch: expected https://github.com/rbcprolabs/packages.dart but got https://github.com/ScerIO/packages.dart.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: universal_file,
    • contains a version property, and,
    • does not contain a publish_to property.

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 licenses: Apache-2.0, BSD-3-Clause.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

0 out of 1 API elements (0.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: universal_file.

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

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:universal_file/universal_file.dart that imports:
  • package:universal_file/src/io_impl_vm.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.

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

INFO: Missing type annotation.

lib/src/io/directory.dart:187:14

    ╷
187 │   static set current(path) {
    │              ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/io/directory.dart

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
meta ^1.3.0 1.19.0 1.19.0

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.14, Dart 3.12.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
26
likes
120
points
92.8k
downloads

Documentation

API reference

Publisher

verified publisherserge.software

Weekly Downloads

Cross-platform File & Directory that works in all platforms (browsers, Flutter, and VM)

License

Apache-2.0, BSD-3-Clause (license)

Dependencies

meta

More

Packages that depend on universal_file