Skip to content
Prev Previous commit
Next Next commit
Add 90 degree rotation
  • Loading branch information
camsim99 committed Dec 18, 2024
commit d1d059094853e3bec2ff2176abc96f7889628d95
Original file line number Diff line number Diff line change
Expand Up @@ -840,7 +840,7 @@ class AndroidCameraCameraX extends CameraPlatform {
);
}

return Texture(textureId: cameraId);
return RotatedBox(quarterTurns: 1, child: Texture(textureId: cameraId));
}

/// Captures an image and returns the file where it was saved.
Expand Down
Loading