文件最后提交记录最后更新时间
Remove "All right reserved" from all files (#10066) Per guidance from legal on current preferred practice, remove "All rights reserved" from all LICENSE files and header blocks, and update the repo tool check accordingly.7 个月前
[camera_avfoundation] Wrappers swift migration - part 3 (#10293) Migrates camera wrappers as part of https://github.com/flutter/flutter/issues/119109 This PR migrates wrappers to Swift: * FLTCaptureDevice * FLTCaptureSession * FLTFormatUtils In line with Swift conventions, the FLT prefixes are removed. The Default class implementations are replaced with protocol conformance on base AV classes. ## Pre-Review Checklist **Note**: The Flutter team is currently trialing the use of [Gemini Code Assist for GitHub](https://developers.google.com/gemini-code-assist/docs/review-github-code). Comments from the gemini-code-assist bot should not be taken as authoritative feedback from the Flutter team. If you find its comments useful you can update your code accordingly, but if you are unsure or disagree with the feedback, please feel free to wait for a Flutter team member's review for guidance on which automated comments should be addressed. [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.6 个月前
[various] Migrate example Radio groups to new RadioGroup API (#10155) This PR updates multiple package **example** apps to stop using deprecated groupValue and onChanged on individual Radio widgets and instead use the new RadioGroup<T> ancestor to manage the selected value and change handling. ### Why Flutter deprecated Radio.groupValue and Radio.onChanged in favor of RadioGroup, which centralizes selection state for related radios. The deprecation is currently reported across several examples in this repo (see linked issue for examples and affected packages). This PR resolves those warnings. ### What changed (pattern applied across examples) - Wrap related Radio<T> widgets in a RadioGroup<T>(groupValue: ..., onChanged: ...). - Remove groupValue/onChanged from each Radio, leaving only value (+ its label UI). - Example (from animations demo): old three Radio widgets each had groupValue/onChanged; now they are enclosed in a single RadioGroup<SharedAxisTransitionType> and the Radio children keep just their value. ### Packages (examples) updated - animations - camera - camera_android - camera_android_camerax - camera_avfoundation - google_sign_in_web - two_dimensional_scrollables (both table_view and tree_view) ### Screenshots N/A (UI unchanged; only wiring of radios changed). ### Links Fixes: [flutter/flutter#170915](https://github.com/flutter/flutter/issues/170915) --- ## Pre-Review Checklist7 个月前
Remove "All right reserved" from all files (#10066) Per guidance from legal on current preferred practice, remove "All rights reserved" from all LICENSE files and header blocks, and update the repo tool check accordingly.7 个月前
[Camera] Add lens type information (iOS) (#7653) This PR adds lens type information. The goal is to identify whether the lens type is wide, ultra-wide, telephoto, etc., as discussed in https://github.com/flutter/flutter/issues/119908. The iOS implementation is complete, so lens data will now be populated on iOS. - Introduces a new CameraLensType enum to provide lens type information about the camera (e.g.: ultra-wide, telephoto, ...) - Adds lensType in the PlatformCameraDescription and CameraDescription classes - Implements utility functions to convert between PlatformCameraLensType and CameraLensType. - Updates auto-generated code (using Pigeon) to reflect these changes. **Current CameraDescription for iPhone 11** ``` [ CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:0, CameraLensDirection.back, 90 ), CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:1, CameraLensDirection.front, 90 ), CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:5, CameraLensDirection.back, 90 ) ] ``` **New CameraDescription for iPhone 11** ``` [ CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:0, CameraLensDirection.back, 90, CameraLensType.wide ), CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:1, CameraLensDirection.front, 90, CameraLensType.wide ), CameraDescription( com.apple.avfoundation.avcapturedevice.built-in_video:5, CameraLensDirection.back, 90, CameraLensType.ultraWide ) ] ``` Fixes https://github.com/flutter/flutter/issues/1743907 个月前