photofilters 3.0.1 copy "photofilters: ^3.0.1" to clipboard
photofilters: ^3.0.1 copied to clipboard

A flutter package for applying various types of filters to an image. You can create your own filters and subfilters too.

258
likes
130/ 160
pub points
683
downloads

We analyzed this package 5 days ago, and awarded it 130 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: MIT.

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

48 out of 259 API elements (18.5 %) 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: color_filter_utils, color_filter_utils.addictiveColor, color_filter_utils.brightness, color_filter_utils.clampPixel, color_filter_utils.colorOverlay.

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:photofilters/photofilters.dart that imports:
  • package:photofilters/widgets/photo_filter.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:photofilters/photofilters.dart that imports:
  • package:photofilters/widgets/photo_filter.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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.

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 4 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/widgets/photo_filter.dart:44:15

44 │               return Center(child: Text('Error: ${snapshot.error}'));
   │               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
copied to clipboard

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

INFO: Statements in an if should be enclosed in a block.

lib/widgets/photo_filter.dart:211:17

211 │                 return Center(child: Text('Error: ${snapshot.error}'));
    │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
copied to clipboard

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

Failed report section
Support up-to-date dependencies
30 / 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
image ^3.0.2 3.3.0 4.5.4
meta ^1.3.0 1.16.0 1.16.0
path_provider ^2.0.1 2.1.5 2.1.5
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.5
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.12.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.16 2.2.16
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
petitparser - 6.1.0 6.1.0
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

The constraint `^3.0.2` on image does not support the stable version `4.0.0`.

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

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:
Jul 7Aug 4Sep 1Sep 29Oct 27Nov 24Dec 22Jan 19Feb 16Mar 16050100150200250300350>=0.0.0-0 <1.0.0>=1.0.0-0 <2.0.0>=2.0.0-0 <3.0.0>=3.0.0-0 <4.0.0
258
likes
130
points
683
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.23 - 2025.04.07

A flutter package for applying various types of filters to an image. You can create your own filters and subfilters too.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, image, meta, path_provider

More

Packages that depend on photofilters