buildImageView method
Returns the ImageViewer tranformed with editing view Paint rect on top of the video area outside of the crop rect
Implementation
Widget buildImageView(
VideoEditorController controller,
Uint8List bytes,
TransformData transform,
) {
return SizedBox.fromSize(
size: layout,
child: CropTransformWithAnimation(
shouldAnimate: layout != Size.zero,
transform: transform,
child: ImageViewer(
controller: controller,
bytes: bytes,
child: buildPaint(controller),
),
),
);
}