Skip to content

Commit

Permalink
release: ready for 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
LeGoffMael committed Jan 5, 2023
1 parent 20ab6e9 commit 12f49c8
Show file tree
Hide file tree
Showing 9 changed files with 30 additions and 31 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand Down
File renamed without changes
Binary file added assets/demo_thumb.webp
Binary file not shown.
File renamed without changes
17 changes: 2 additions & 15 deletions example/README.md
Original file line number Diff line number Diff line change
@@ -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.
4 changes: 2 additions & 2 deletions example/lib/main.dart
Original file line number Diff line number Diff line change
@@ -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';
Expand Down
9 changes: 4 additions & 5 deletions example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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"
Expand All @@ -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:
Expand Down
17 changes: 12 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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:
Expand All @@ -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
Expand All @@ -22,4 +25,8 @@ dev_dependencies:
flutter_test:
sdk: flutter

flutter_lints: ^2.0.1
flutter_lints: ^2.0.1

screenshots:
- description: 'Video editor demo'
path: assets/demo_thumb.webp

0 comments on commit 12f49c8

Please sign in to comment.