Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit 5e7abfd

Browse files
committed
Remove Deprecated methods, so consumers don't break immediately.
1 parent 60c2ffd commit 5e7abfd

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/image_picker/image_picker_for_web/lib/image_picker_for_web.dart

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ class ImagePickerPlugin extends ImagePickerPlatform {
8686
/// `capture` is only supported in mobile browsers.
8787
/// See https://caniuse.com/#feat=html-media-capture
8888
@visibleForTesting
89-
@Deprecated("Switch to using getFile instead")
9089
Future<PickedFile> pickFile({
9190
String? accept,
9291
String? capture,
@@ -193,7 +192,6 @@ class ImagePickerPlugin extends ImagePickerPlatform {
193192
}
194193

195194
/// Monitors an <input type="file"> and returns the selected file.
196-
@Deprecated("Use _getSelectedXFile instead")
197195
Future<PickedFile> _getSelectedFile(html.FileUploadInputElement input) {
198196
final Completer<PickedFile> _completer = Completer<PickedFile>();
199197
// Observe the input until we can return something

0 commit comments

Comments
 (0)