Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Restore native editor formatting

Prateek Sunal737aa54fd79a
diff --git a/mobile/packages/native_video_editor/lib/native_video_editor.dart b/mobile/packages/native_video_editor/lib/native_video_editor.dart
index 6150e075d3..476d2e5826 100644
--- a/mobile/packages/native_video_editor/lib/native_video_editor.dart
+++ b/mobile/packages/native_video_editor/lib/native_video_editor.dart
@@ -47,11 +47,11 @@ class VideoTrimParams {
});
Map<String, dynamic> toMap() => {
- 'inputPath': inputPath,
- 'outputPath': outputPath,
- 'startTimeMs': startTime.inMilliseconds,
- 'endTimeMs': endTime.inMilliseconds,
- };
+ 'inputPath': inputPath,
+ 'outputPath': outputPath,
+ 'startTimeMs': startTime.inMilliseconds,
+ 'endTimeMs': endTime.inMilliseconds,
+ };
}
class VideoRotateParams {
@@ -66,10 +66,10 @@ class VideoRotateParams {
}) : assert(degrees == 90 || degrees == 180 || degrees == 270);
Map<String, dynamic> toMap() => {
- 'inputPath': inputPath,
- 'outputPath': outputPath,
- 'degrees': degrees,
- };
+ 'inputPath': inputPath,
+ 'outputPath': outputPath,
+ 'degrees': degrees,
+ };
}
class VideoCropParams {
@@ -92,21 +92,20 @@ class VideoCropParams {
});
Map<String, dynamic> toMap() => {
- 'inputPath': inputPath,
- 'outputPath': outputPath,
- 'x': x,
- 'y': y,
- 'width': width,
- 'height': height,
- 'forceReEncode': forceReEncode,
- };
+ 'inputPath': inputPath,
+ 'outputPath': outputPath,
+ 'x': x,
+ 'y': y,
+ 'width': width,
+ 'height': height,
+ 'forceReEncode': forceReEncode,
+ };
}
class NativeVideoEditor {
static const MethodChannel _channel = MethodChannel('native_video_editor');
- static const EventChannel _progressChannel = EventChannel(
- 'native_video_editor/progress',
- );
+ static const EventChannel _progressChannel =
+ EventChannel('native_video_editor/progress');
/// Trim video without re-encoding when possible
/// Returns the output file path