Skip to content

Commit

Permalink
fix: Make dependencies more compatible with other packages (#97)
Browse files Browse the repository at this point in the history
  • Loading branch information
littleGnAl authored Apr 18, 2024
1 parent b1ad6a0 commit 48146f1
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 9 deletions.
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

0 comments on commit 48146f1

Please sign in to comment.