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

A simple flutter package to handle view network files.

1
likes
60/ 140
pub points
63%
popularity

We analyzed this package 20 hours ago, and awarded it 60 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

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: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

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

2 out of 27 API elements (7.4 %) 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.

Some symbols that are missing documentation: flutter_file_handler, flutter_file_handler.FileViewUtils, flutter_file_handler.FileViewUtils.FileViewUtils, flutter_file_handler.FileViewUtils.viewFile, flutter_file_handler.FileViewWidget.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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: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/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

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/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/cache_object_provider.dart that imports:
  • package:sqflite/sqflite.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `macOS`.

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 `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/cache_info_repositories/cache_info_repositories.dart that imports:
  • package:flutter_cache_manager/src/storage/cache_info_repositories/json_cache_info_repository.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
Pass static analysis
0 / 50trigger folding of the section

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

Found 9 issues. Showing the first 2:

ERROR: The named parameter 'primary' isn't defined.

lib/widgets/file_view_widget.dart:80:23

   ╷
80 │                       primary: widget.btnColor,
   │                       ^^^^^^^
   ╵

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

ERROR: The named parameter 'primary' isn't defined.

lib/widgets/file_view_widget.dart:94:23

   ╷
94 │                       primary: widget.btnColor,
   │                       ^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
cached_network_image ^3.3.0 3.3.1 3.3.1
file_saver ^0.2.8 0.2.11 0.2.11
flutter flutter 0.0.0 0.0.0
permission_handler ^11.0.1 11.3.0 11.3.0
photo_view ^0.14.0 0.14.0 0.14.0
share_plus ^7.1.0 7.2.2 7.2.2
syncfusion_flutter_pdfviewer ^23.1.38 23.2.7 24.2.7
url_launcher ^6.1.14 6.2.5 6.2.5
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
cached_network_image_platform_interface - 4.0.0 4.0.0
cached_network_image_web - 1.1.1 1.1.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
cross_file - 0.3.4+1 0.3.4+1
crypto - 3.0.3 3.0.3
device_info_plus - 9.1.2 9.1.2
device_info_plus_platform_interface - 7.0.0 7.0.0
dio - 5.4.1 5.4.1
ffi - 2.1.2 2.1.2
file - 7.0.0 7.0.0
fixnum - 1.1.0 1.1.0
flutter_cache_manager - 3.3.1 3.3.1
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.1 1.2.1
http_parser - 4.0.2 4.0.2
intl - 0.18.1 0.19.0
js - 0.6.7 0.7.1
material_color_utilities - 0.8.0 0.8.0
meta - 1.11.0 1.12.0
mime - 1.0.5 1.0.5
octo_image - 2.0.0 2.0.0
path - 1.9.0 1.9.0
path_provider - 2.1.2 2.1.2
path_provider_android - 2.2.2 2.2.2
path_provider_foundation - 2.3.2 2.3.2
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.2.1 2.2.1
permission_handler_android - 12.0.5 12.0.5
permission_handler_apple - 9.4.0 9.4.0
permission_handler_html - 0.1.1 0.1.1
permission_handler_platform_interface - 4.2.0 4.2.0
permission_handler_windows - 0.2.1 0.2.1
petitparser - 6.0.2 6.0.2
platform - 3.1.4 3.1.4
plugin_platform_interface - 2.1.8 2.1.8
rxdart - 0.27.7 0.27.7
share_plus_platform_interface - 3.3.1 3.3.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
sqflite - 2.3.2 2.3.2
sqflite_common - 2.5.3 2.5.3
string_scanner - 1.2.0 1.2.0
syncfusion_flutter_core - 23.2.7 24.2.7
syncfusion_flutter_pdf - 23.2.7 24.2.7
syncfusion_flutter_signaturepad - 23.2.7 24.2.7
syncfusion_pdfviewer_macos - 23.2.7 24.2.7
syncfusion_pdfviewer_platform_interface - 23.2.7 24.2.7
syncfusion_pdfviewer_web - 23.2.7 24.2.7
syncfusion_pdfviewer_windows - 23.2.7 24.2.7
synchronized - 3.1.0+1 3.1.0+1
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
url_launcher_android - 6.3.0 6.3.0
url_launcher_ios - 6.2.4 6.2.4
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.1.0 3.1.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.0 2.3.0
url_launcher_windows - 3.1.1 3.1.1
uuid - 4.3.3 4.3.3
vector_math - 2.1.4 2.1.4
web - 0.5.0 0.5.0
win32 - 5.2.0 5.2.0
win32_registry - 1.1.2 1.1.2
xdg_directories - 1.0.4 1.0.4
xml - 6.5.0 6.5.0

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

The constraint `^23.1.38` on syncfusion_flutter_pdfviewer does not support the stable version `24.1.41`.

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

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

Analyzed with Pana 0.22.1, Flutter 3.20.0-1.1.pre, Dart 3.4.0-99.0.dev.

Check the analysis log for details.