video_editor_2 3.1.1 copy "video_editor_2: ^3.1.1" to clipboard
video_editor_2: ^3.1.1 copied to clipboard

A flutter package for editing video with fully customizable UI. Supports crop, trim, rotation and cover selection.

30
likes
140/ 160
pub points
822
downloads

We analyzed this package 3 days ago, and awarded it 140 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.

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

154 out of 288 API elements (53.5 %) have documentation comments.

Some symbols that are missing documentation: controller, controller.RotateDirection, controller.VideoEditorController.cacheMaxCrop, controller.VideoEditorController.cacheMinCrop, controller.VideoEditorController.createCoverFFmpegConfig.

Passed check 10/10 points: Package has an example and has no issues with screenshots

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:video_editor_2/domain/bloc/controller.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:video_editor_2/domain/bloc/controller.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:video_editor_2/domain/bloc/controller.dart that imports:
  • package:video_editor_2/domain/thumbnails.dart that imports:
  • package:get_thumbnail_video/video_thumbnail.dart that declares support for platforms: Android, iOS, Web.
Package not compatible with platform Web

Because:

  • package:video_editor_2/domain/bloc/controller.dart that imports:
  • package:video_player/video_player.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:video_editor_2/domain/bloc/controller.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.

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: 'VideoPlayerController.network' is deprecated and shouldn't be used. Use VideoPlayerController.networkUrl instead.

lib/domain/bloc/controller.dart:90:15

   ╷
90 │             ? VideoPlayerController.network(file.path)
   │               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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

lib/ui/crop/crop_grid.dart:307:44

    ╷
307 │         !isRectContained(layout, newRect)) return;
    │                                            ^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/ui/crop/crop_grid.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
cross_file ^0.3.4+2 0.3.4+2 0.3.4+2
get_thumbnail_video ^0.6.1 0.6.1 0.7.3
transparent_image ^2.0.1 2.0.1 2.0.1
video_player ^2.9.1 2.9.5 2.9.5
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
csslib - 1.0.2 1.0.2
html - 0.15.5+1 0.15.5+1
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
term_glyph - 1.2.2 1.2.2
vector_math - 2.1.4 2.1.5
video_player_android - 2.8.2 2.8.2
video_player_avfoundation - 2.7.1 2.7.1
video_player_platform_interface - 6.3.0 6.3.0
video_player_web - 2.3.4 2.3.4
web - 1.1.1 1.1.1

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

The constraint `^0.6.1` on get_thumbnail_video does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions get_thumbnail_video 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:
30
likes
140
points
822
downloads
screenshot

Publisher

unverified uploader

Weekly Downloads

A flutter package for editing video with fully customizable UI. Supports crop, trim, rotation and cover selection.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

cross_file, flutter, get_thumbnail_video, transparent_image, video_player

More

Packages that depend on video_editor_2