diff --git a/CHANGELOG.md b/CHANGELOG.md index a1e12072..67edd227 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +## [2.2.0] + +- improved widgets performances [#130](https://github.com/LeGoffMael/video_editor/pull/130) & [#132](https://github.com/LeGoffMael/video_editor/pull/132) +- improve crop preview internal logic by using mixin [#131](https://github.com/LeGoffMael/video_editor/pull/131) +- new `rotateCropArea` parameter in `CropGridViewer.edit` [#130](https://github.com/LeGoffMael/video_editor/pull/130) + ## [2.1.0] - Trim values are now more accurate for exportation [#127](https://github.com/LeGoffMael/video_editor/pull/127) diff --git a/README.md b/README.md index 0658bdcd..cfe2e345 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ Following steps will help you add this library as a dependency in your flutter p ```yaml dependencies: - video_editor: ^2.1.0 + video_editor: ^2.2.0 ``` - Import the package in your code: @@ -49,9 +49,9 @@ Those Android API level and iOS deployment target are required to uses this pack ## 📸 Screenshots (The UI Design is fully customizable on the [example](https://pub.dev/packages/video_editor/example)) -| Example app running on an Iphone 11 pro | Customization example, light mode | -| --------------------------------------- | ------------------------------------- | -| ![](./assets/readme/demo.gif) | ![](./assets/readme/light_editor.png) | +| Example app running on an Iphone 11 pro | Customization example, light mode | +| --------------------------------------- | --------------------------------- | +| ![](./assets/demo.gif) | ![](./assets/light_editor.png) | ## 👀 Usage diff --git a/assets/readme/demo.gif b/assets/demo.gif similarity index 100% rename from assets/readme/demo.gif rename to assets/demo.gif diff --git a/assets/demo_thumb.webp b/assets/demo_thumb.webp new file mode 100644 index 00000000..ec09ddc8 Binary files /dev/null and b/assets/demo_thumb.webp differ diff --git a/assets/readme/light_editor.png b/assets/light_editor.png similarity index 100% rename from assets/readme/light_editor.png rename to assets/light_editor.png diff --git a/example/README.md b/example/README.md index a1356260..3aca4b35 100644 --- a/example/README.md +++ b/example/README.md @@ -1,16 +1,3 @@ -# example +# Video editor example -A new Flutter project. - -## Getting Started - -This project is a starting point for a Flutter application. - -A few resources to get you started if this is your first Flutter project: - -- [Lab: Write your first Flutter app](https://flutter.dev/docs/get-started/codelab) -- [Cookbook: Useful Flutter samples](https://flutter.dev/docs/cookbook) - -For help getting started with Flutter, view our -[online documentation](https://flutter.dev/docs), which offers tutorials, -samples, guidance on mobile development, and a full API reference. +This is the example for the `video_editor` package. \ No newline at end of file diff --git a/example/lib/main.dart b/example/lib/main.dart index 6209bb25..ec59f42f 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -1,7 +1,7 @@ import 'dart:io'; -import 'package:example/crop.dart'; -import 'package:example/widgets/export_result.dart'; +import 'package:video_editor_example/crop.dart'; +import 'package:video_editor_example/widgets/export_result.dart'; import 'package:flutter/material.dart'; import 'package:helpers/helpers.dart' show OpacityTransition; import 'package:image_picker/image_picker.dart'; diff --git a/example/pubspec.yaml b/example/pubspec.yaml index a20a967f..730b1a5b 100644 --- a/example/pubspec.yaml +++ b/example/pubspec.yaml @@ -1,8 +1,8 @@ -name: example -description: Video editor example app +name: video_editor_example +description: The example project for the video_editor package. publish_to: "none" -version: 1.0.0+1 +version: 2.2.0+1 environment: flutter: ">=3.0.0" @@ -17,8 +17,7 @@ dependencies: helpers: ^1.1.4 image_picker: ^0.8.6 - cupertino_icons: ^1.0.5 - video_player: ^2.4.8 + video_player: ^2.4.10 fraction: ^4.1.4 flutter: diff --git a/pubspec.yaml b/pubspec.yaml index 78295c9a..abaccea1 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,9 @@ name: video_editor -version: 2.1.0 -description: A flutter package for editing video written in pure Dart with fully customizable UI. Supports crop, trim, rotation and cover selection. +version: 2.2.0 +description: | + A flutter package for editing video with fully customizable UI. + Supports crop, trim, rotation and cover selection. + Video and cover exportation is handled by ffmpeg repository: https://github.com/LeGoffMael/video_editor environment: @@ -12,8 +15,8 @@ dependencies: sdk: flutter ffmpeg_kit_flutter_min_gpl: ^5.1.0 - path_provider: ^2.0.10 - video_player: ^2.4.8 + path_provider: ^2.0.11 + video_player: ^2.4.10 video_thumbnail: ^0.5.3 path: ^1.8.0 # update to `1.8.1` causes #79 transparent_image: ^2.0.0 # show fade-in placeholder in thumbnails generation @@ -22,4 +25,8 @@ dev_dependencies: flutter_test: sdk: flutter - flutter_lints: ^2.0.1 \ No newline at end of file + flutter_lints: ^2.0.1 + +screenshots: + - description: 'Video editor demo' + path: assets/demo_thumb.webp \ No newline at end of file