CompleteParameters class
A data class that contains all parameters needed for applying visual transformations and filters to a video frame or image.
Includes cropping, rotation, flipping, blur, and color adjustments.
Constructors
-
CompleteParameters.new({required double blur, required List<
List< colorFilters, required Duration? startTime, required Duration? endTime, required int? cropWidth, required int? cropHeight, required int rotateTurns, required int? cropX, required int? cropY, required bool flipX, required bool flipY, required Uint8List image, required bool isTransformed, required List<double> >Layer> layers}) - Creates a CompleteParameters instance with all required values.
Properties
- blur → double
-
The blur strength to apply (in logical pixels).
final
-
colorFilters
→ List<
List< double> > -
A 4x5 color matrix used for color adjustments.
final
- cropHeight → int?
-
The target crop height in pixels (optional).
final
- cropWidth → int?
-
The target crop width in pixels (optional).
final
- cropX → int?
-
The horizontal crop offset (optional).
final
- cropY → int?
-
The vertical crop offset (optional).
final
- endTime → Duration?
-
The time where processing should end.
final
- flipX → bool
-
Whether to flip the image horizontally.
final
- flipY → bool
-
Whether to flip the image vertically.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- image → Uint8List
-
The image data as a Uint8List.
final
- isTransformed → bool
-
Whether the video has any transformation (e.g. crop, scale, rotate, flip).
This flag is typically used to optimize rendering or skip transformation
logic when it's not needed.
final
-
layers
→ List<
Layer> -
A list of visual layers (e.g. text, stickers, overlays) that should be
rendered on top of the video during export.
final
- rotateTurns → int
-
Number of clockwise 90° rotations to apply.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → Duration?
-
The time where processing should start.
final
Methods
-
copyWith(
{double? blur, List< List< ? colorFilters, Duration? startTime, Duration? endTime, int? cropWidth, int? cropHeight, int? rotateTurns, int? cropX, int? cropY, bool? flipX, bool? flipY, Uint8List? image, bool? isTransformed, List<double> >Layer> ? layers}) → CompleteParameters - Creates a copy of this CompleteParameters object with optional new values for specific fields.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override