Skip to content
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

update dependencies #98

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

update dependencies #98

wants to merge 1 commit into from

Conversation

hatch01
Copy link

@hatch01 hatch01 commented May 12, 2023

I just updated de win32 dependencies because it makes the package incompatible with some other packages.
The dart analysis warned up some issues minor issues that I fixed at the same time.

@CLAassistant
Copy link

CLAassistant commented May 12, 2023

CLA assistant check
All committers have signed the CLA.

Copy link

@JamesNocentiniTide JamesNocentiniTide left a comment

Choose a reason for hiding this comment

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

👏

For what it's worth I'm on 2.19.6 and the tests don't compile unless adding the ?. It could be that those changes come in with dart 3, does it compile with a version of dart < 3 ? Or perhaps I'm missing something. Anyways, great job!

@@ -17,7 +18,8 @@ void main() {
});

tearDown(() {
channel.setMockMethodCallHandler(null);
TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger

Choose a reason for hiding this comment

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

Suggested change
TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger
TestDefaultBinaryMessengerBinding.instance?.defaultBinaryMessenger

a ? is required for me on dart 2.19.6

@@ -8,7 +8,8 @@ void main() {
TestWidgetsFlutterBinding.ensureInitialized();

setUp(() {
channel.setMockMethodCallHandler((MethodCall methodCall) async {
TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger

Choose a reason for hiding this comment

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

Suggested change
TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger
TestDefaultBinaryMessengerBinding.instance?.defaultBinaryMessenger

a ? is required for me on dart 2.19.6

@hatch01
Copy link
Author

hatch01 commented May 12, 2023

I'm sorry I only tested on the new dart3. So I don't know if it's also ok with other versions.

@hatch01
Copy link
Author

hatch01 commented Aug 15, 2023

according to issue #99 I added a namespace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants