Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
1a5afbf
I've added the `pickMultiVideo` feature to `image_picker`.
google-labs-jules[bot] Aug 6, 2025
3ac98cd
Minor cleanup (analysis, autoformat, stale comments, changelog/versio…
stuartmorgan-g Aug 7, 2025
528a6e7
Rework examples for testing and to reduce drift
stuartmorgan-g Aug 7, 2025
f2c219c
Android: Fix API version issue and add native tests
stuartmorgan-g Aug 7, 2025
47086bb
iOS: Fix, and unify some older code flows
stuartmorgan-g Aug 8, 2025
acfbfd1
Simplify iOS Dart code
stuartmorgan-g Aug 8, 2025
5dd0563
Merge branch 'main' into add-pick-multi-video
stuartmorgan-g Aug 8, 2025
100beef
Fix hero tags
stuartmorgan-g Aug 8, 2025
25f9458
Fix unguarded .first
stuartmorgan-g Aug 8, 2025
0c60fd7
Update packages/image_picker/image_picker_android/android/src/main/ja…
stuartmorgan-g Aug 8, 2025
c3040d2
Fix unit test expectation handling
stuartmorgan-g Aug 10, 2025
b5d0098
Revert part of app-facing example change
stuartmorgan-g Aug 10, 2025
21a2c50
Analysis fix
stuartmorgan-g Aug 11, 2025
9ebcff3
Fix UIImagePicker code path
stuartmorgan-g Aug 11, 2025
3c7e229
Merge branch 'main' into add-pick-multi-video-platform-interface
stuartmorgan-g Aug 14, 2025
8306374
Revert non-p-i changes
stuartmorgan-g Aug 14, 2025
c711fc3
Revert method channel changes
stuartmorgan-g Aug 14, 2025
86e96d1
Fix method name in changelog
stuartmorgan-g Aug 14, 2025
f7c6749
Add unit test
stuartmorgan-g Aug 14, 2025
59c91a9
GCAfGH review fixes
stuartmorgan-g Aug 14, 2025
886a7c4
Remove blank line
stuartmorgan-g Aug 14, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix hero tags
  • Loading branch information
stuartmorgan-g committed Aug 8, 2025
commit 100beeff1121ca5063db213425565b59d4ca010b
6 changes: 3 additions & 3 deletions packages/image_picker/image_picker/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -430,7 +430,7 @@ class _MyHomePageState extends State<MyHomePage> {
isVideo = true;
_onImageButtonPressed(ImageSource.gallery, context: context);
},
heroTag: 'video0',
heroTag: 'video',
tooltip: 'Pick video from gallery',
child: const Icon(Icons.video_file),
),
Expand All @@ -444,7 +444,7 @@ class _MyHomePageState extends State<MyHomePage> {
_onImageButtonPressed(ImageSource.gallery,
context: context, allowMultiple: true);
},
heroTag: 'video1',
heroTag: 'multiVideo',
tooltip: 'Pick multiple videos',
child: const Icon(Icons.video_library),
),
Expand All @@ -458,7 +458,7 @@ class _MyHomePageState extends State<MyHomePage> {
isVideo = true;
_onImageButtonPressed(ImageSource.camera, context: context);
},
heroTag: 'video2',
heroTag: 'takeVideo',
tooltip: 'Take a video',
child: const Icon(Icons.videocam),
),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ class _MyHomePageState extends State<MyHomePage> {
_isVideo = true;
_onImageButtonPressed(ImageSource.gallery, context: context);
},
heroTag: 'video0',
heroTag: 'video',
tooltip: 'Pick video from gallery',
label: const Text('Pick video from gallery'),
icon: const Icon(Icons.video_file),
Expand All @@ -477,7 +477,7 @@ class _MyHomePageState extends State<MyHomePage> {
_onImageButtonPressed(ImageSource.gallery,
context: context, allowMultiple: true);
},
heroTag: 'video0',
heroTag: 'multiVideo',
tooltip: 'Pick multiple videos',
label: const Text('Pick multiple videos'),
icon: const Icon(Icons.video_library),
Expand All @@ -491,7 +491,7 @@ class _MyHomePageState extends State<MyHomePage> {
_isVideo = true;
_onImageButtonPressed(ImageSource.camera, context: context);
},
heroTag: 'video1',
heroTag: 'takeVideo',
tooltip: 'Take a video',
label: const Text('Take a video'),
icon: const Icon(Icons.videocam),
Expand Down
6 changes: 3 additions & 3 deletions packages/image_picker/image_picker_ios/example/lib/main.dart
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ class _MyHomePageState extends State<MyHomePage> {
_isVideo = true;
_onImageButtonPressed(ImageSource.gallery, context: context);
},
heroTag: 'video0',
heroTag: 'video',
tooltip: 'Pick video from gallery',
label: const Text('Pick video from gallery'),
icon: const Icon(Icons.video_file),
Expand All @@ -406,7 +406,7 @@ class _MyHomePageState extends State<MyHomePage> {
_onImageButtonPressed(ImageSource.gallery,
context: context, allowMultiple: true);
},
heroTag: 'video0',
heroTag: 'multiVideo',
tooltip: 'Pick multiple videos',
label: const Text('Pick multiple videos'),
icon: const Icon(Icons.video_library),
Expand All @@ -420,7 +420,7 @@ class _MyHomePageState extends State<MyHomePage> {
_isVideo = true;
_onImageButtonPressed(ImageSource.camera, context: context);
},
heroTag: 'video1',
heroTag: 'takeVideo',
tooltip: 'Take a video',
label: const Text('Take a video'),
icon: const Icon(Icons.videocam),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ class _MyHomePageState extends State<MyHomePage> {
_isVideo = true;
_onImageButtonPressed(ImageSource.gallery, context: context);
},
heroTag: 'video0',
heroTag: 'video',
tooltip: 'Pick video from gallery',
label: const Text('Pick video from gallery'),
icon: const Icon(Icons.video_file),
Expand All @@ -405,7 +405,7 @@ class _MyHomePageState extends State<MyHomePage> {
_onImageButtonPressed(ImageSource.gallery,
context: context, allowMultiple: true);
},
heroTag: 'video0',
heroTag: 'multiVideo',
tooltip: 'Pick multiple videos',
label: const Text('Pick multiple videos'),
icon: const Icon(Icons.video_library),
Expand All @@ -420,7 +420,7 @@ class _MyHomePageState extends State<MyHomePage> {
_isVideo = true;
_onImageButtonPressed(ImageSource.camera, context: context);
},
heroTag: 'video1',
heroTag: 'takeVideo',
tooltip: 'Take a video',
label: const Text('Take a video'),
icon: const Icon(Icons.videocam),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ class _MyHomePageState extends State<MyHomePage> {
_isVideo = true;
_onImageButtonPressed(ImageSource.gallery, context: context);
},
heroTag: 'video0',
heroTag: 'video',
tooltip: 'Pick video from gallery',
label: const Text('Pick video from gallery'),
icon: const Icon(Icons.video_file),
Expand All @@ -405,7 +405,7 @@ class _MyHomePageState extends State<MyHomePage> {
_onImageButtonPressed(ImageSource.gallery,
context: context, allowMultiple: true);
},
heroTag: 'video0',
heroTag: 'multiVideo',
tooltip: 'Pick multiple videos',
label: const Text('Pick multiple videos'),
icon: const Icon(Icons.video_library),
Expand All @@ -420,7 +420,7 @@ class _MyHomePageState extends State<MyHomePage> {
_isVideo = true;
_onImageButtonPressed(ImageSource.camera, context: context);
},
heroTag: 'video1',
heroTag: 'takeVideo',
tooltip: 'Take a video',
label: const Text('Take a video'),
icon: const Icon(Icons.videocam),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,7 +390,7 @@ class _MyHomePageState extends State<MyHomePage> {
_isVideo = true;
_onImageButtonPressed(ImageSource.gallery, context: context);
},
heroTag: 'video0',
heroTag: 'video',
tooltip: 'Pick video from gallery',
label: const Text('Pick video from gallery'),
icon: const Icon(Icons.video_file),
Expand All @@ -405,7 +405,7 @@ class _MyHomePageState extends State<MyHomePage> {
_onImageButtonPressed(ImageSource.gallery,
context: context, allowMultiple: true);
},
heroTag: 'video0',
heroTag: 'multiVideo',
tooltip: 'Pick multiple videos',
label: const Text('Pick multiple videos'),
icon: const Icon(Icons.video_library),
Expand All @@ -420,7 +420,7 @@ class _MyHomePageState extends State<MyHomePage> {
_isVideo = true;
_onImageButtonPressed(ImageSource.camera, context: context);
},
heroTag: 'video1',
heroTag: 'takeVideo',
tooltip: 'Take a video',
label: const Text('Take a video'),
icon: const Icon(Icons.videocam),
Expand Down