Skip to content

Commit

Permalink
chore(deps): upgrade to Flutter 3.16
Browse files Browse the repository at this point in the history
Plus some dependences
  • Loading branch information
CarlosNihelton committed Nov 30, 2023
1 parent a618368 commit 04aa291
Show file tree
Hide file tree
Showing 25 changed files with 57 additions and 60 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.x'
flutter-version: '3.16.x'
- run: flutter pub global activate melos
- run: melos pub-get
- run: melos run analyze
Expand All @@ -25,7 +25,7 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.x'
flutter-version: '3.16.x'
- run: flutter pub global activate melos
- run: melos pub-get
- run: melos run format
Expand All @@ -36,7 +36,7 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.x'
flutter-version: '3.16.x'
- run: flutter pub global activate melos
- run: melos pub-get
- run: melos exec --no-private -- \
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.x'
flutter-version: '3.16.x'
- run: flutter pub global activate melos
- run: sudo apt update
- run: sudo apt install -y clang cmake curl libgtk-3-dev ninja-build pkg-config unzip xvfb
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/generate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.x'
flutter-version: '3.16.x'
- run: flutter pub global activate melos
- run: melos pub-get
- run: flutter pub get # Bad state: Unable to generate package graph
Expand All @@ -29,7 +29,7 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.x'
flutter-version: '3.16.x'
- run: flutter pub global activate melos
- run: melos pub-get
- run: melos run gen-l10n
Expand All @@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.x'
flutter-version: '3.16.x'
- run: flutter pub global activate melos
- run: melos pub-get
- run: flutter pub get # Bad state: Unable to generate package graph
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.x'
flutter-version: '3.16.x'
- run: flutter pub global activate melos
- run: sudo apt update
- run: sudo apt install -y lcov
Expand All @@ -32,7 +32,7 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.x'
flutter-version: '3.16.x'
- run: flutter pub global activate melos
- run: melos pub-get
- run: melos run test
Expand All @@ -43,7 +43,7 @@ jobs:
- uses: actions/checkout@v2
- uses: subosito/flutter-action@v2
with:
flutter-version: '3.10.x'
flutter-version: '3.16.x'
- run: flutter pub global activate melos
- run: sudo apt update
- run: sudo apt install -y clang cmake curl libgtk-3-dev ninja-build pkg-config unzip xvfb
Expand Down
3 changes: 2 additions & 1 deletion lib/preferences/preferences_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ class PreferencesDialog extends StatelessWidget {
clipBehavior: Clip.antiAlias,
child: YaruMasterDetailPage(
length: preferences.length,
tileBuilder: (context, index, selected) => YaruMasterTile(
tileBuilder: (context, index, selected, _) =>
YaruMasterTile(
title: Text(preferences[index].title),
),
pageBuilder: (context, index) => YaruDetailPage(
Expand Down
2 changes: 1 addition & 1 deletion lib/terminal/terminal_actions.dart
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import 'terminal_settings.dart';

class ScrollToEndAction extends ScrollAction {
@override
void invoke(covariant ScrollIntent intent) {
void invoke(covariant ScrollIntent intent, [BuildContext? context]) {
final context = primaryFocus!.context!;
var state = Scrollable.maybeOf(context);
if (state == null) {
Expand Down
6 changes: 3 additions & 3 deletions packages/accel_key/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ name: accel_key
publish_to: 'none'

environment:
sdk: ">=2.17.0 <3.0.0"
flutter: ">=3.0.0"
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.0.0'

dependencies:
collection: ^1.16.0
ffi: ^2.0.1
flutter:
sdk: flutter
ubuntu_localizations: ^0.1.6
ubuntu_localizations: ^0.3.4

dev_dependencies:
ffigen: ^7.1.0
Expand Down
6 changes: 3 additions & 3 deletions packages/command_store/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: command_store
publish_to: 'none'

environment:
sdk: ">=2.17.0 <3.0.0"
flutter: ">=3.0.0"
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.0.0'

dependencies:
accel_key:
Expand All @@ -18,4 +18,4 @@ dev_dependencies:
flutter_lints: ^2.0.0
flutter_test:
sdk: flutter
mockito: 5.4.0
mockito: ^5.4.3
4 changes: 2 additions & 2 deletions packages/context_menu/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ description: Context menu.
publish_to: 'none'

environment:
sdk: ">=2.17.0 <3.0.0"
flutter: ">=3.0.0"
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.0.0'

dependencies:
flutter:
Expand Down
4 changes: 2 additions & 2 deletions packages/flutter_jsettings/example/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: jsettings_example
publish_to: 'none'

environment:
sdk: '>=2.18.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'

dependencies:
collection: ^1.16.0
Expand All @@ -14,7 +14,7 @@ dependencies:
provider: ^6.0.4
ubuntu_service: ^0.2.0
xdg_directories: ^0.2.0+2
yaru: ^0.9.0
yaru: ^1.2.0

dev_dependencies:
flutter_lints: ^2.0.0
Expand Down
4 changes: 2 additions & 2 deletions packages/flutter_jsettings/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ issue_tracker: https://github.com/ubuntu-flutter-community/jsettings.dart/issues
version: 0.1.0

environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.0.0'

dependencies:
Expand All @@ -19,4 +19,4 @@ dev_dependencies:
flutter_lints: ^2.0.0
flutter_test:
sdk: flutter
mockito: ^5.3.2
mockito: ^5.4.3
4 changes: 2 additions & 2 deletions packages/jsettings/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ issue_tracker: https://github.com/jpnurmi/jsettings.dart/issues
version: 0.1.1

environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'

dependencies:
collection: ^1.16.0
path: ^1.8.0

dev_dependencies:
lints: ^2.0.0
mockito: ^5.3.2
mockito: ^5.4.3
test: ^1.16.0
4 changes: 2 additions & 2 deletions packages/lxd/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ description: |
homepage: https://github.com/canonical/lxd.dart

environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'

platforms:
linux:
Expand All @@ -23,5 +23,5 @@ dev_dependencies:
freezed: ^2.3.1
json_serializable: ^6.2.0
lints: ^2.0.0
mockito: 5.4.0
mockito: ^5.4.3
test: ^1.16.8
4 changes: 2 additions & 2 deletions packages/lxd_service/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: lxd_service
publish_to: 'none'

environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'

dependencies:
collection: ^1.16.0
Expand All @@ -24,5 +24,5 @@ dev_dependencies:
freezed: ^2.3.1
json_serializable: ^6.2.0
lints: ^2.0.0
mockito: 5.4.0
mockito: ^5.4.3
test: ^1.16.0
2 changes: 1 addition & 1 deletion packages/lxd_test/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: lxd_test
publish_to: 'none'

environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'

dependencies:
lxd:
Expand Down
2 changes: 1 addition & 1 deletion packages/lxd_x/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: lxd_x
publish_to: 'none'

environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'

dependencies:
collection: ^1.16.0
Expand Down
6 changes: 3 additions & 3 deletions packages/movable_tabs/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@ description: Movable tabs.
publish_to: 'none'

environment:
sdk: ">=2.17.0 <3.0.0"
flutter: ">=3.0.0"
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.0.0'

dependencies:
flutter:
sdk: flutter
yaru_icons: ^1.0.0
yaru_icons: ^2.2.2

dev_dependencies:
flutter_lints: ^2.0.0
Expand Down
4 changes: 2 additions & 2 deletions packages/nested_split_view/example/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: nested_split_view_example
publish_to: 'none'
publish_to: 'none'

environment:
sdk: '>=2.18.1 <3.0.0'
sdk: '>=3.0.0 <4.0.0'

dependencies:
flutter:
Expand Down
4 changes: 2 additions & 2 deletions packages/nested_split_view/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ description: Nested SplitView.
publish_to: 'none'

environment:
sdk: '>=2.17.0 <3.0.0'
flutter: ">=3.0.0"
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.0.0'

dependencies:
collection: ^1.16.0
Expand Down
6 changes: 3 additions & 3 deletions packages/os_logo/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ description: OS logo
publish_to: 'none'

environment:
sdk: ">=2.17.0 <3.0.0"
flutter: ">=3.0.0"
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.0.0'

dependencies:
flutter:
Expand All @@ -16,7 +16,7 @@ dev_dependencies:
flutter_lints: ^2.0.0
flutter_test:
sdk: flutter
mockito: 5.4.0
mockito: ^5.4.3

flutter:
assets:
Expand Down
4 changes: 2 additions & 2 deletions packages/osarch/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ name: osarch
publish_to: 'none'

environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'

dependencies:
collection: ^1.16.0
meta: ^1.7.0
stdlibc: ^0.1.0

dev_dependencies:
mockito: 5.4.0
mockito: ^5.4.3
test: ^1.21.1
2 changes: 1 addition & 1 deletion packages/petname/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ homepage: https://github.com/dustinkirkland/petname
publish_to: 'none'

environment:
sdk: '>=2.17.0 <3.0.0'
sdk: '>=3.0.0 <4.0.0'

dependencies:
meta: ^1.7.0
Expand Down
4 changes: 2 additions & 2 deletions packages/terminal_view/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: terminal_view
publish_to: 'none'

environment:
sdk: ">=2.17.0 <3.0.0"
flutter: ">=3.0.0"
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.0.0'

dependencies:
flutter:
Expand Down
20 changes: 8 additions & 12 deletions pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ description: Workshops
publish_to: 'none'

environment:
sdk: ">=2.17.0 <3.0.0"
flutter: ">=3.0.0"
sdk: '>=3.0.0 <4.0.0'
flutter: '>=3.0.0'

dependencies:
accel_key:
Expand Down Expand Up @@ -63,21 +63,17 @@ dependencies:
substring_highlight: ^1.0.33
terminal_view:
path: packages/terminal_view
ubuntu_localizations: ^0.1.6
ubuntu_localizations: ^0.3.4
ubuntu_logger: ^0.0.2
ubuntu_service: ^0.2.0
ubuntu_widgets:
git:
url: https://github.com/canonical/ubuntu-flutter-plugins.git
path: packages/ubuntu_widgets
ref: 2549b38607f8c634404f478f719a6ab6a5344605
ubuntu_widgets: ^0.3.0
window_manager: ^0.3.0
wizard_router: ^0.9.0
xdg_directories: ^0.2.0+2
yaml: ^3.1.1
yaru: ^0.5.0
yaru_icons: ^1.0.0
yaru_widgets: ^2.0.0
yaru: ^1.2.0
yaru_icons: ^2.2.2
yaru_widgets: ^3.3.1

dev_dependencies:
build_runner: ^2.1.11
Expand All @@ -87,7 +83,7 @@ dev_dependencies:
freezed: ^2.3.1
json_serializable: ^6.2.0
melos: ^3.0.1
mockito: 5.4.0
mockito: ^5.4.3

flutter:
generate: true
Expand Down
Loading

0 comments on commit 04aa291

Please sign in to comment.