flutter_file_info 0.2.0 copy "flutter_file_info: ^0.2.0" to clipboard
flutter_file_info: ^0.2.0 copied to clipboard

A Flutter plugin for retrieving detailed file metadata, including native icons.

6
likes
150/ 160
pub points
82
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/makjac/flutter_file_info/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: MIT.

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

46 out of 60 API elements (76.7 %) have documentation comments.

Some symbols that are missing documentation: flutter_file_info, flutter_file_info.AndroidFileAttributesUtility.AndroidFileAttributesUtility.new, flutter_file_info.FileInfo, flutter_file_info.FileInfo.FileInfo.new, flutter_file_info.FileInfo.instance.

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 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `iOS`.

Because:

  • package:flutter_file_info/flutter_file_info.dart that declares support for platforms: Android, Windows, macOS.
Package does not support platform `Linux`.

Because:

  • package:flutter_file_info/flutter_file_info.dart that declares support for platforms: Android, Windows, macOS.
Package does not support platform `Web`.

Because:

  • package:flutter_file_info/flutter_file_info.dart that declares support for platforms: Android, Windows, macOS.

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

Package does not support platform `Android`.

Because:

  • package:flutter_file_info/flutter_file_info.dart that imports:
  • package:flutter_file_info/src/windows/file_info_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:flutter_file_info/flutter_file_info.dart that imports:
  • package:flutter_file_info/src/windows/file_info_windows.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_file_info/flutter_file_info.dart that imports:
  • package:flutter_file_info/src/windows/file_info_windows.dart that imports:
  • package:win32/win32.dart that imports:
  • package:win32/src/com/iwinhttprequest.dart that imports:
  • package:win32/src/com/iunknown.dart that imports:
  • package:win32/src/utils.dart that imports:
  • package:win32/src/win32/user32.g.dart that imports:
  • package:win32/src/variant.dart that imports:
  • package:win32/src/win32/oleaut32.g.dart that imports:
  • package:win32/src/structs.g.dart that imports:
  • package:win32/src/guid.dart that imports:
  • package:win32/src/win32/ole32.g.dart that imports:
  • package:win32/src/combase.dart that imports:
  • package:win32/src/macros.dart that imports:
  • package:win32/src/inline.dart that imports:
  • package:win32/src/win32/uxtheme.g.dart that imports:
  • package:win32/src/callbacks.dart that imports:
  • package:win32/src/types.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

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.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/flutter_file_info/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm 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 29 issues. Showing the first 2:

INFO: 'FILE_ATTRIBUTE_READONLY' is deprecated and shouldn't be used. Use FILE_ATTRIBUTE_READONLY instead.

lib/src/windows/enum/windows_file_attribiutes.dart:88:42

   ╷
88 │         return FILE_FLAGS_AND_ATTRIBUTES.FILE_ATTRIBUTE_READONLY;
   │                                          ^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/windows/enum/windows_file_attribiutes.dart

INFO: 'FILE_ATTRIBUTE_HIDDEN' is deprecated and shouldn't be used. Use FILE_ATTRIBUTE_HIDDEN instead.

lib/src/windows/enum/windows_file_attribiutes.dart:90:42

   ╷
90 │         return FILE_FLAGS_AND_ATTRIBUTES.FILE_ATTRIBUTE_HIDDEN;
   │                                          ^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/windows/enum/windows_file_attribiutes.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
equatable ^2.0.5 2.0.7 2.0.7
ffi ^2.1.3 2.1.4 2.1.4
image ^4.2.0 4.5.4 4.5.4
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
win32 ^5.5.4 5.12.0 5.12.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.0.6 4.0.6
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 6.1.0
posix - 6.0.2 6.0.2
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.5
xml - 6.5.0 6.5.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.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
6
likes
150
points
82
downloads

Publisher

verified publisherjackowski.dev

Weekly Downloads

A Flutter plugin for retrieving detailed file metadata, including native icons.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

MIT (license)

Dependencies

equatable, ffi, flutter, image, plugin_platform_interface, win32

More

Packages that depend on flutter_file_info