Skip to content

[image_picker] Add the ability to pick multiple videos - platform_interface #9804

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

stuartmorgan-g
Copy link
Contributor

This is the platform interface portion of #9775

Part of flutter/flutter#102283

Pre-Review Checklist

Note: The Flutter team is currently trialing the use of Gemini Code Assist for GitHub. 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.

Footnotes

  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. 2 3

@stuartmorgan-g stuartmorgan-g added the federated: partial_changes PR that contains changes for only a single package of a federated plugin change label Aug 14, 2025
Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request introduces the capability to select multiple videos by adding the getMultiVideoWithOptions method to the platform interface, along with a corresponding MultiVideoPickerOptions class. The changes are well-structured, including updates to the changelog, pubspec, and the addition of a relevant test case. I've identified a couple of minor issues: a documentation inconsistency in the new method's doc comment and a small typo in a test name. Both are easy fixes to improve clarity.

@stuartmorgan-g
Copy link
Contributor Author

Relative to the main PR, the changes are:

  • I reverted the changes to the legacy method channel implementation, which I forgot do to originally.
  • I added a minimal unit test, like we usually do for new methods.

@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 14, 2025
@auto-submit auto-submit bot removed the autosubmit Merge PR when tree becomes green via auto submit App label Aug 14, 2025
Copy link
Contributor

auto-submit bot commented Aug 14, 2025

autosubmit label was removed for flutter/packages/9804, because - The status or check suite Windows_x64 win32-platform_tests_shard_2 master has failed. Please fix the issues identified (or deflake) before re-applying this label.

@stuartmorgan-g stuartmorgan-g added the autosubmit Merge PR when tree becomes green via auto submit App label Aug 14, 2025
@auto-submit auto-submit bot merged commit 1ef6b58 into flutter:main Aug 14, 2025
80 checks passed
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 15, 2025
engine-flutter-autoroll added a commit to engine-flutter-autoroll/flutter that referenced this pull request Aug 15, 2025
github-merge-queue bot pushed a commit to flutter/flutter that referenced this pull request Aug 15, 2025
flutter/packages@09533b7...5c52c55

2025-08-15 [email protected] [video_player] Move Android buffer
updates to Dart (flutter/packages#9771)
2025-08-15 [email protected] [webview_flutter] Add support for
payment requests on Android (flutter/packages#9679)
2025-08-15 [email protected]
[vector_graphics_compiler] Set the m4_10 (Z scale) value to 1 when
constructing an AffineMatrix from an SVG matrix (flutter/packages#9813)
2025-08-15 [email protected] [url_launcher_ios] Fix test button text to
work on iOS 26 (flutter/packages#9766)
2025-08-15 [email protected] [video_player] Simplify native iOS
code (flutter/packages#9800)
2025-08-14 [email protected] [image_picker] Add the ability to
pick multiple videos - platform_interface (flutter/packages#9804)

If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-packages-flutter-autoroll
Please CC [email protected] on the revert to ensure that a
human
is aware of the problem.

To file a bug in Flutter:
https://github.com/flutter/flutter/issues/new/choose

To report a problem with the AutoRoller itself, please file a bug:
https://issues.skia.org/issues/new?component=1389291&template=1850622

Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autosubmit Merge PR when tree becomes green via auto submit App federated: partial_changes PR that contains changes for only a single package of a federated plugin change p: image_picker
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants