INNER CODE UNIT · Dart
VideoMinDurationError
LeGoffMael/video_editor · lib/src/controller.dart:9
class VideoMinDurationError extends Error {
final Duration minDuration;
final Duration videoDuration;
VideoMinDurationError(this.minDuration, this.videoDuration);
@override
String toString() =>
"Invalid argument (minDuration): The minimum duration ($minDuration) cannot be bigger than the duration of the video file ($videoDuration)";
}
enum RotateDirection { left, right }
/// The default value of this property `Offset(1.0, 1.0)`
const Offset maxOffset = Offset(1.0, 1.0);
/// The default value of this property `Offset.zero`
const Offset minOffset = Offset.zero;