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

[image_picker] NNBD stable #3579

Merged
merged 5 commits into from
Feb 20, 2021
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
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
3 changes: 2 additions & 1 deletion packages/image_picker/image_picker/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
## 0.7.0-nullsafety
## 0.7.0

* Migrate to nullsafety
* Breaking Changes:
* Removed the deprecated methods: `ImagePicker.pickImage`, `ImagePicker.pickVideo`,
Expand Down
4 changes: 2 additions & 2 deletions packages/image_picker/image_picker/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ dependencies:
video_player: ^2.0.0-nullsafety.7
flutter:
sdk: flutter
flutter_plugin_android_lifecycle: ^2.0.0-nullsafety.2
flutter_plugin_android_lifecycle: ^2.0.0
image_picker:
# When depending on this package from a real application you should use:
# image_picker: ^x.y.z
Expand All @@ -26,5 +26,5 @@ flutter:
uses-material-design: true

environment:
sdk: ">=2.12.0-0 <3.0.0"
sdk: ">=2.12.0-259.9.beta <3.0.0"
flutter: ">=1.10.0"
11 changes: 5 additions & 6 deletions packages/image_picker/image_picker/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: image_picker
description: Flutter plugin for selecting images from the Android and iOS image
library, and taking new pictures with the camera.
homepage: https://github.com/flutter/plugins/tree/master/packages/image_picker/image_picker
version: 0.7.0-nullsafety
version: 0.7.0

flutter:
plugin:
Expand All @@ -16,19 +16,18 @@ flutter:
dependencies:
flutter:
sdk: flutter
flutter_plugin_android_lifecycle: ^2.0.0-nullsafety.2
image_picker_platform_interface: ^2.0.0-nullsafety
flutter_plugin_android_lifecycle: ^2.0.0
image_picker_platform_interface: ^2.0.0

dev_dependencies:
video_player: ^2.0.0-nullsafety.7
flutter_test:
sdk: flutter
integration_test:
path: ../../integration_test
mockito: ^5.0.0-nullsafety.7
pedantic: ^1.8.0
pedantic: ^1.10.0
plugin_platform_interface: ^1.0.3
Copy link
Member

Choose a reason for hiding this comment

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

Checking project image_picker...
  info - The library 'package:plugin_platform_interface/plugin_platform_interface.dart' is legacy, and should not be imported into a null safe library at test/image_picker_test.dart:10:8 - (import_of_legacy_library_into_null_safe)

Copy link
Member

@ditman ditman Feb 19, 2021

Choose a reason for hiding this comment

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

This dep. needs to be set as ">=1.0.0 <3.0.0", right @stuartmorgan?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes

Copy link
Contributor Author

Choose a reason for hiding this comment

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

this will get fixed after merging #3580


environment:
sdk: ">=2.12.0-0 <3.0.0"
sdk: ">=2.12.0-259.9.beta <3.0.0"
flutter: ">=1.10.0"