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

fix: Make dependencies more compatible with other packages #97

Merged
merged 6 commits into from
Apr 18, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ jobs:
- uses: actions/checkout@v1
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0' # Run the latest version
channel: 'stable' # Run the latest version
cache: true
- uses: futureware-tech/simulator-action@v2
with:
Expand All @@ -270,7 +270,7 @@ jobs:
- uses: actions/checkout@v1
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.13.0' # Run the latest version
channel: 'stable' # Run the latest version
cache: true
- uses: futureware-tech/simulator-action@v2
with:
Expand Down
3 changes: 1 addition & 2 deletions lib/iris_method_channel_bindings_io.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/// Export the common bindings of iris of `dart:io`
// Export the common bindings of iris of `dart:io`
export 'src/platform/io/bindings/native_iris_api_common_bindings.dart';
3 changes: 1 addition & 2 deletions lib/iris_method_channel_bindings_web.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
/// Export the common bindings of iris of web
// Export the common bindings of iris of web
export 'src/platform/web/bindings/iris_api_common_bindings_js.dart';
6 changes: 3 additions & 3 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ dependencies:
flutter_web_plugins:
sdk: flutter
ffi: '>=1.1.2'
async: ^2.8.2
js: ^0.6.3
async: '>=2.8.2'
js: '>=0.6.3'
dev_dependencies:
flutter_test:
sdk: flutter
flutter_lints: ^1.0.0
flutter_lints: '>=1.0.0'
test: ^1.2.0
ffigen: ^4.1.2
flutter:
Expand Down
1 change: 1 addition & 0 deletions test/platform/fake/fake_platform_binding_delegate_io.dart
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ class PlatformTesterInterfaceIO implements PlatformTesterInterface {
irisMethodChannel = IrisMethodChannel(nativeBindingsProvider);
}

// ignore: library_private_types_in_public_api
late _FakeNativeBindingDelegateMessenger messenger;
late IrisMethodChannel irisMethodChannel;

Expand Down
3 changes: 3 additions & 0 deletions test/platform/fake/fake_platform_binding_delegate_web.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ class _FakeNativeBindingDelegateMessenger implements CallApiRecorderInterface {
}

class FakeNativeBindingDelegate extends PlatformBindingsDelegateInterface {
// ignore: library_private_types_in_public_api
FakeNativeBindingDelegate(this.messenger);

// ignore: library_private_types_in_public_api
final _FakeNativeBindingDelegateMessenger messenger;

@override
Expand Down Expand Up @@ -161,6 +163,7 @@ class PlatformTesterInterfaceWeb implements PlatformTesterInterface {
irisMethodChannel = IrisMethodChannel(nativeBindingsProvider);
}

// ignore: library_private_types_in_public_api
late _FakeNativeBindingDelegateMessenger messenger;
late IrisMethodChannel irisMethodChannel;

Expand Down
Loading