ux: bulk WIP — UxPlugin→XPlugin rename + new anim/core/navi/reactive packages
Catch-all commit for outstanding pre-existing local changes. Mixes several themes that would normally be split: - Rename: UxPlugin → XPlugin across iOS, macOS, Android registrants. - New top-level packages under lib/src/: anim/ (animated values, panes, sheets, dock, measured), core/ (Emitter, ReactiveBuilder scaffolding, presenter/widget/value/dispose primitives), navi/ (Screen/ScreenStack/Router/hero/transitions), reactive/. - Edits across existing plugins (clipboard, crash, file, gallery, keyboard, scanner, sensor, url) to align with the new core. - Test updates and CHANGELOG/README touches accompanying the above.
This commit is contained in:
@@ -6,7 +6,7 @@ import FlutterMacOS
|
||||
#endif
|
||||
import Foundation
|
||||
|
||||
/// One per `UxCameraController` on the Dart side. Owns its
|
||||
/// One per `XCameraController` on the Dart side. Owns its
|
||||
/// `AVCaptureSession`, the texture-backed preview pipeline, photo
|
||||
/// output, audio + video data outputs, and the
|
||||
/// [VideoRecorder] when a recording is in flight. Multiple instances
|
||||
@@ -526,7 +526,7 @@ final class CameraInstance {
|
||||
// front camera — raw sensor feed at capture, mirror as a
|
||||
// playback decision.
|
||||
if let videoConn = videoDataOutput?.connection(with: .video) {
|
||||
videoConn.applyUxCaptureOrientation(
|
||||
videoConn.applyXCaptureOrientation(
|
||||
lockedOrientation ?? orientation.current
|
||||
)
|
||||
if videoConn.isVideoMirroringSupported {
|
||||
@@ -558,7 +558,7 @@ final class CameraInstance {
|
||||
|
||||
private func applyVideoOrientationOnPreview(_ next: DeviceOrientationFlutter) {
|
||||
videoDataOutput?.connection(with: .video)?
|
||||
.applyUxCaptureOrientation(next)
|
||||
.applyXCaptureOrientation(next)
|
||||
}
|
||||
|
||||
private func emit(_ extras: [String: Any]) {
|
||||
|
||||
Reference in New Issue
Block a user