Skip to content

Commit

Permalink
chore: update to flutter 3.16 (#816)
Browse files Browse the repository at this point in the history
* chore: update to flutter 3.16

* fix: upgrade deps and regen goldens

yaru window
flutter lints
golden toolkit
mocktail
  • Loading branch information
Feichtmeier authored Dec 18, 2023
1 parent 64c3d26 commit 3f86f3c
Show file tree
Hide file tree
Showing 49 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
workflow_dispatch:

env:
FLUTTER_VERSION: 3.13.x
FLUTTER_VERSION: 3.16.x

jobs:
analyze:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
workflow_dispatch:

env:
FLUTTER_VERSION: 3.13.x
FLUTTER_VERSION: 3.16.x

jobs:
goldens:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
workflow_dispatch:

env:
FLUTTER_VERSION: 3.13.x
FLUTTER_VERSION: 3.16.x

jobs:
publish:
Expand Down
4 changes: 2 additions & 2 deletions lib/src/widgets/master_detail/yaru_portrait_layout.dart
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ class _YaruPortraitLayoutState extends State<YaruPortraitLayout> {
@override
Widget build(BuildContext context) {
final theme = YaruMasterDetailTheme.of(context);
return WillPopScope(
onWillPop: () async => !await _navigator.maybePop(),
return PopScope(
onPopInvoked: (v) async => await _navigator.maybePop(),
child: Theme(
data: Theme.of(context).copyWith(
pageTransitionsTheme: theme.portraitTransitions,
Expand Down
10 changes: 5 additions & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,22 +6,22 @@ version: 3.3.1

environment:
sdk: ">=3.0.0 <4.0.0"
flutter: ">=3.10.0"
flutter: ">=3.16.0"

dependencies:
flutter:
sdk: flutter
yaru: ^1.2.0
yaru_icons: ">=1.0.0 <3.0.0"
yaru_window: ^0.1.1
yaru_window: ^0.2.0

dev_dependencies:
collection: ^1.16.0
flutter_lints: ^2.0.1
flutter_lints: ^3.0.1
flutter_test:
sdk: flutter
golden_toolkit: ^0.13.0
mocktail: ^0.3.0
golden_toolkit: ^0.15.0
mocktail: ^1.0.2
plugin_platform_interface: ^2.1.3
test: ^1.21.4
yaru_window_platform_interface: ^0.1.0
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_master_detail-page-landscape-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_master_detail-page-landscape-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_navigation_page-compact-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_navigation_page-compact-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_navigation_page-labelled-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_navigation_page-labelled-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_title_bar-closable-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_title_bar-closable-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_title_bar-dialog-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_title_bar-dialog-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_title_bar-dialog-red-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_title_bar-dialog-red-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_title_bar-empty-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_title_bar-empty-light.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_title_bar-inactive-dark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified test/widgets/goldens/yaru_title_bar-inactive-light.png
Binary file modified test/widgets/goldens/yaru_title_bar-maximizable-dark.png
Binary file modified test/widgets/goldens/yaru_title_bar-maximizable-light.png
Binary file modified test/widgets/goldens/yaru_title_bar-restorable-dark.png
Binary file modified test/widgets/goldens/yaru_title_bar-restorable-light.png
Binary file modified test/widgets/goldens/yaru_title_bar-windows-closable-dark.png
Binary file modified test/widgets/goldens/yaru_title_bar-windows-closable-light.png
Binary file modified test/widgets/goldens/yaru_title_bar-windows-dialog-dark.png
Binary file modified test/widgets/goldens/yaru_title_bar-windows-dialog-light.png
Binary file modified test/widgets/goldens/yaru_title_bar-windows-dialog-red-dark.png
Binary file modified test/widgets/goldens/yaru_title_bar-windows-dialog-red-light.png
Binary file modified test/widgets/goldens/yaru_title_bar-windows-empty-dark.png
Binary file modified test/widgets/goldens/yaru_title_bar-windows-empty-light.png
Binary file modified test/widgets/goldens/yaru_title_bar-windows-inactive-dark.png
Binary file modified test/widgets/goldens/yaru_title_bar-windows-inactive-light.png
Binary file modified test/widgets/goldens/yaru_title_bar-windows-maximizable-dark.png
Binary file modified test/widgets/goldens/yaru_title_bar-windows-restorable-dark.png
Binary file modified test/widgets/goldens/yaru_title_bar-windows-restorable-light.png

0 comments on commit 3f86f3c

Please sign in to comment.