-
-
Notifications
You must be signed in to change notification settings - Fork 107
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this 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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TestDefaultBinaryMessengerBinding.instance.defaultBinaryMessenger | |
TestDefaultBinaryMessengerBinding.instance?.defaultBinaryMessenger |
a ?
is required for me on dart 2.19.6
I'm sorry I only tested on the new dart3. So I don't know if it's also ok with other versions. |
according to issue #99 I added a namespace |
655e1ac
to
1808db8
Compare
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.