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

chore: update to flutter 3.16 #816

Merged
merged 2 commits into from
Dec 18, 2023
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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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
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
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
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
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
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
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
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