flutter_file_handler 0.0.16 copy "flutter_file_handler: ^0.0.16" to clipboard
flutter_file_handler: ^0.0.16 copied to clipboard

A simple flutter package to handle view network files.

1
likes
100/ 160
pub points
156
downloads

We analyzed this package 25 hours ago, and awarded it 100 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.

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

3 out of 33 API elements (9.1 %) 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: flutter_file_handler, flutter_file_handler.FileViewUtils, flutter_file_handler.FileViewUtils.FileViewUtils.new, flutter_file_handler.FileViewUtils.viewFile, flutter_file_handler.FileViewWidget.

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:flutter_file_handler/flutter_file_handler.dart that imports:
  • package:video_box/video_box.dart that imports:
  • package:video_box/video.controller.dart that imports:
  • package:video_box/video_state.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:flutter_file_handler/flutter_file_handler.dart that imports:
  • package:video_box/video_box.dart that imports:
  • package:video_box/video.controller.dart that imports:
  • package:video_box/video_state.dart that imports:
  • package:video_player/video_player.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `macOS`.

Because:

  • package:flutter_file_handler/flutter_file_handler.dart that imports:
  • package:video_box/video_box.dart that imports:
  • package:video_box/video.controller.dart that imports:
  • package:video_box/mixin/video_listenner_mixin.dart that imports:
  • package:sensors_plus/sensors_plus.dart that declares support for platforms: Android, iOS, Web.
Package does not support platform `Web`.

Because:

  • package:flutter_file_handler/flutter_file_handler.dart that imports:
  • package:cached_network_image/cached_network_image.dart that imports:
  • package:cached_network_image/src/image_provider/cached_network_image_provider.dart that imports:
  • package:flutter_cache_manager/flutter_cache_manager.dart that imports:
  • package:flutter_cache_manager/src/storage/file_system/file_system.dart that imports:
  • package:flutter_cache_manager/src/storage/file_system/file_system_io.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, 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_handler/flutter_file_handler.dart that imports:
  • package:syncfusion_flutter_pdfviewer/pdfviewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/pdfviewer.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:flutter_file_handler/flutter_file_handler.dart that imports:
  • package:syncfusion_flutter_pdfviewer/pdfviewer.dart that imports:
  • package:syncfusion_flutter_pdfviewer/src/pdfviewer.dart that imports:
  • package:device_info_plus/device_info_plus.dart that imports:
  • package:device_info_plus/src/device_info_plus_windows.dart that imports:
  • package:win32_registry/win32_registry.dart that declares support for platforms: Windows.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:flutter_file_handler/flutter_file_handler.dart that imports:
  • package:video_box/video_box.dart that imports:
  • package:video_box/video.controller.dart that imports:
  • package:video_box/video_state.dart that imports:
  • package:video_player/video_player.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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 8 issues. Showing the first 2:

WARNING: Unused import: 'dart:io'.

lib/flutter_file_handler.dart:15:8

   ╷
15 │ import 'dart:io' show Platform;
   │        ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_file_handler.dart

WARNING: Unused import: 'package:video_box/video_box.dart'.

lib/flutter_file_handler.dart:19:8

   ╷
19 │ import 'package:video_box/video_box.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/flutter_file_handler.dart

Failed report section
Support up-to-date dependencies
10 / 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
cached_network_image ^3.3.0 3.4.1 3.4.1
file_saver ^0.2.13 0.2.14 0.3.0
http ^1.2.2 1.4.0 1.4.0
path_provider ^2.1.3 2.1.5 2.1.5
permission_handler ^11.0.1 11.4.0 12.0.0+1
photo_view ^0.14.0 0.14.0 0.15.0
share_plus ^7.1.0 7.2.2 11.0.0
syncfusion_flutter_pdfviewer ^23.1.38 23.2.7 30.1.37
url_launcher ^6.1.14 6.3.1 6.3.1
video_box ^0.17.0 0.17.0 0.17.0
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
cached_network_image_platform_interface - 4.1.1 4.1.1
cached_network_image_web - 1.3.1 1.3.1
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
connectivity_plus - 2.3.9 6.1.4
connectivity_plus_linux - 1.3.1 1.3.1 Discontinued
connectivity_plus_macos - 1.2.6 1.2.6 Discontinued
connectivity_plus_platform_interface - 1.2.4 2.0.1
connectivity_plus_web - 1.2.5 1.2.5 Discontinued
connectivity_plus_windows - 1.2.2 1.2.2 Discontinued
convert - 3.1.2 3.1.2
cross_file - 0.3.4+2 0.3.4+2
crypto - 3.0.6 3.0.6
csslib - 1.0.2 1.0.2
dart_printf - 0.6.0 0.6.0
dbus - 0.7.11 0.7.11
device_info_plus - 9.1.2 11.5.0
device_info_plus_platform_interface - 7.0.3 7.0.3
dio - 5.8.0+1 5.8.0+1
dio_web_adapter - 2.1.1 2.1.1
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_cache_manager - 3.4.1 3.4.1
flutter_mobx - 2.3.0 2.3.0
html - 0.15.6 0.15.6
http_parser - 4.1.2 4.1.2
intl - 0.18.1 0.20.2
js - 0.6.7 0.7.2 Discontinued
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
mime - 1.0.6 2.0.0
mobx - 2.5.0 2.5.0
nested - 1.0.0 1.0.0
nm - 0.5.0 0.5.0
octo_image - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
permission_handler_android - 12.1.0 13.0.1
permission_handler_apple - 9.4.7 9.4.7
permission_handler_html - 0.1.3+5 0.1.3+5
permission_handler_platform_interface - 4.3.0 4.3.0
permission_handler_windows - 0.2.1 0.2.1
petitparser - 6.1.0 7.0.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5 6.1.5
rxdart - 0.28.0 0.28.0
sensors_plus - 1.4.1 6.1.1
sensors_plus_platform_interface - 1.2.0 2.0.1
sensors_plus_web - 1.1.2 1.1.2 Discontinued
share_plus_platform_interface - 3.4.0 6.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sqflite - 2.4.2 2.4.2
sqflite_android - 2.4.1 2.4.1
sqflite_common - 2.5.5 2.5.5
sqflite_darwin - 2.4.2 2.4.2
sqflite_platform_interface - 2.4.0 2.4.0
string_scanner - 1.4.1 1.4.1
syncfusion_flutter_core - 23.2.7 30.1.37
syncfusion_flutter_pdf - 23.2.7 30.1.37
syncfusion_flutter_signaturepad - 23.2.7 30.1.37
syncfusion_pdfviewer_macos - 23.2.7 30.1.37
syncfusion_pdfviewer_platform_interface - 23.2.7 30.1.37
syncfusion_pdfviewer_web - 23.2.7 30.1.37
syncfusion_pdfviewer_windows - 23.2.7 30.1.37
synchronized - 3.4.0 3.4.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.16 6.3.16
url_launcher_ios - 6.3.3 6.3.3
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.4.1 2.4.1
url_launcher_windows - 3.1.4 3.1.4
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.2.0
video_player - 2.10.0 2.10.0
video_player_android - 2.8.7 2.8.7
video_player_avfoundation - 2.7.1 2.7.1
video_player_platform_interface - 6.3.0 6.3.0
video_player_web - 2.3.5 2.3.5
web - 1.1.1 1.1.1
win32 - 5.14.0 5.14.0
win32_registry - 1.1.5 2.1.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.6.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 `^0.2.13` on file_saver does not support the stable version `0.3.0`, that was published 0 days ago.

When file_saver is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^11.0.1` on permission_handler does not support the stable version `12.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_METHOD - lib/widgets/video_box.widget.dart:52:41 - The method 'networkUrl' isn't defined for the type 'VideoPlayerController'.

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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: