Skip to content

Commit 848d146

Browse files
authored
Updating dependencies (#149)
* Updating dependencies * Updating CI flutter version * Fixing flutter analyze errors
1 parent 9a552ec commit 848d146

File tree

3 files changed

+10
-19
lines changed

3 files changed

+10
-19
lines changed

.github/workflows/analytics_flutter.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
- uses: subosito/flutter-action@v2
2525
with:
2626
channel: stable
27-
flutter-version: 3.19.0
27+
flutter-version: 3.29.2
2828

2929
- name: Get dependencies
3030
run: cd packages/core && flutter pub get

packages/core/pubspec.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ dependencies:
2121
http: ">=0.13.6 <2.0.0"
2222
logger: ^2.4.0
2323
path_provider: ^2.1.4
24-
flutter_fgbg: ^0.6.0
24+
flutter_fgbg: ^0.7.1
2525
shared_preferences: ^2.2.2
26-
web: ">=0.3.0 <=1.0.0"
26+
web: ^1.1.1
2727

2828
dev_dependencies:
2929
build_runner: ^2.4.7
@@ -32,7 +32,7 @@ dev_dependencies:
3232
fake_async: ^1.0.0
3333
flutter_lints: ^4.0.0
3434
json_serializable: ^6.8.0
35-
pigeon: ^7.2.1
35+
pigeon: ^22.7.2
3636
mockito: ^5.3.2
3737

3838
flutter:

packages/core/test/mocks/mocks.mocks.dart

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1772,24 +1772,24 @@ class MockWidgetsBinding extends _i1.Mock implements _i25.WidgetsBinding {
17721772
);
17731773

17741774
@override
1775-
_i4.Future<void> handlePopRoute() => (super.noSuchMethod(
1775+
_i4.Future<bool> handlePopRoute() => (super.noSuchMethod(
17761776
Invocation.method(
17771777
#handlePopRoute,
17781778
[],
17791779
),
17801780
returnValue: _i4.Future<void>.value(),
1781-
returnValueForMissingStub: _i4.Future<void>.value(),
1782-
) as _i4.Future<void>);
1781+
returnValueForMissingStub: _i4.Future<bool>.value(true),
1782+
) as _i4.Future<bool>);
17831783

17841784
@override
1785-
_i4.Future<void> handlePushRoute(String? route) => (super.noSuchMethod(
1785+
_i4.Future<bool> handlePushRoute(String? route) => (super.noSuchMethod(
17861786
Invocation.method(
17871787
#handlePushRoute,
17881788
[route],
17891789
),
17901790
returnValue: _i4.Future<void>.value(),
1791-
returnValueForMissingStub: _i4.Future<void>.value(),
1792-
) as _i4.Future<void>);
1791+
returnValueForMissingStub: _i4.Future<bool>.value(true),
1792+
) as _i4.Future<bool>);
17931793

17941794
@override
17951795
void handleAppLifecycleStateChanged(_i9.AppLifecycleState? state) =>
@@ -2177,15 +2177,6 @@ class MockWidgetsBinding extends _i1.Mock implements _i25.WidgetsBinding {
21772177
returnValueForMissingStub: null,
21782178
);
21792179

2180-
@override
2181-
void resetLifecycleState() => super.noSuchMethod(
2182-
Invocation.method(
2183-
#resetLifecycleState,
2184-
[],
2185-
),
2186-
returnValueForMissingStub: null,
2187-
);
2188-
21892180
@override
21902181
_i4.Future<T> scheduleTask<T>(
21912182
_i26.TaskCallback<T>? task,

0 commit comments

Comments
 (0)