Skip to content

Commit 58bc5d7

Browse files
Deps update, utilize super.key (#1265)
* Deps update, utilize `super.key` * `flutter format`
1 parent 52ef797 commit 58bc5d7

244 files changed

Lines changed: 449 additions & 500 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

add_to_app/android_view/flutter_module_using_plugin/pubspec.lock

Lines changed: 11 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,14 @@ packages:
4242
name: collection
4343
url: "https://pub.dartlang.org"
4444
source: hosted
45-
version: "1.15.0"
45+
version: "1.16.0"
4646
fake_async:
4747
dependency: transitive
4848
description:
4949
name: fake_async
5050
url: "https://pub.dartlang.org"
5151
source: hosted
52-
version: "1.2.0"
52+
version: "1.3.0"
5353
flutter:
5454
dependency: "direct main"
5555
description: flutter
@@ -61,7 +61,7 @@ packages:
6161
name: flutter_lints
6262
url: "https://pub.dartlang.org"
6363
source: hosted
64-
version: "1.0.4"
64+
version: "2.0.1"
6565
flutter_test:
6666
dependency: "direct dev"
6767
description: flutter
@@ -78,14 +78,14 @@ packages:
7878
name: js
7979
url: "https://pub.dartlang.org"
8080
source: hosted
81-
version: "0.6.3"
81+
version: "0.6.4"
8282
lints:
8383
dependency: transitive
8484
description:
8585
name: lints
8686
url: "https://pub.dartlang.org"
8787
source: hosted
88-
version: "1.0.1"
88+
version: "2.0.0"
8989
matcher:
9090
dependency: transitive
9191
description:
@@ -99,7 +99,7 @@ packages:
9999
name: material_color_utilities
100100
url: "https://pub.dartlang.org"
101101
source: hosted
102-
version: "0.1.3"
102+
version: "0.1.4"
103103
meta:
104104
dependency: transitive
105105
description:
@@ -120,7 +120,7 @@ packages:
120120
name: path
121121
url: "https://pub.dartlang.org"
122122
source: hosted
123-
version: "1.8.0"
123+
version: "1.8.1"
124124
plugin_platform_interface:
125125
dependency: transitive
126126
description:
@@ -153,7 +153,7 @@ packages:
153153
name: source_span
154154
url: "https://pub.dartlang.org"
155155
source: hosted
156-
version: "1.8.1"
156+
version: "1.8.2"
157157
stack_trace:
158158
dependency: transitive
159159
description:
@@ -188,14 +188,7 @@ packages:
188188
name: test_api
189189
url: "https://pub.dartlang.org"
190190
source: hosted
191-
version: "0.4.8"
192-
typed_data:
193-
dependency: transitive
194-
description:
195-
name: typed_data
196-
url: "https://pub.dartlang.org"
197-
source: hosted
198-
version: "1.3.0"
191+
version: "0.4.9"
199192
url_launcher:
200193
dependency: "direct main"
201194
description:
@@ -258,7 +251,7 @@ packages:
258251
name: vector_math
259252
url: "https://pub.dartlang.org"
260253
source: hosted
261-
version: "2.1.1"
254+
version: "2.1.2"
262255
sdks:
263-
dart: ">=2.14.0 <3.0.0"
256+
dart: ">=2.17.0-206.0.dev <3.0.0"
264257
flutter: ">=2.10.0"

add_to_app/android_view/flutter_module_using_plugin/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dependencies:
1616
dev_dependencies:
1717
flutter_test:
1818
sdk: flutter
19-
flutter_lints: ^1.0.3
19+
flutter_lints: ^2.0.1
2020

2121
flutter:
2222
uses-material-design: true

animations/lib/main.dart

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ final allRoutes = <String, WidgetBuilder>{
159159
};
160160

161161
class AnimationSamples extends StatelessWidget {
162-
const AnimationSamples({Key? key}) : super(key: key);
162+
const AnimationSamples({super.key});
163163

164164
@override
165165
Widget build(BuildContext context) {
@@ -175,7 +175,7 @@ class AnimationSamples extends StatelessWidget {
175175
}
176176

177177
class HomePage extends StatelessWidget {
178-
const HomePage({Key? key}) : super(key: key);
178+
const HomePage({super.key});
179179

180180
@override
181181
Widget build(BuildContext context) {
@@ -199,7 +199,7 @@ class HomePage extends StatelessWidget {
199199
class DemoTile extends StatelessWidget {
200200
final Demo demo;
201201

202-
const DemoTile({required this.demo, Key? key}) : super(key: key);
202+
const DemoTile({required this.demo, super.key});
203203

204204
@override
205205
Widget build(BuildContext context) {

animations/lib/src/basics/01_animated_container.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ double generateMargin() => Random().nextDouble() * 64;
1111
Color generateColor() => Color(0xFFFFFFFF & Random().nextInt(0xFFFFFFFF));
1212

1313
class AnimatedContainerDemo extends StatefulWidget {
14-
const AnimatedContainerDemo({Key? key}) : super(key: key);
14+
const AnimatedContainerDemo({super.key});
1515
static String routeName = '/basics/01_animated_container';
1616

1717
@override

animations/lib/src/basics/02_page_route_builder.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import 'package:flutter/material.dart';
66

77
class PageRouteBuilderDemo extends StatelessWidget {
8-
const PageRouteBuilderDemo({Key? key}) : super(key: key);
8+
const PageRouteBuilderDemo({super.key});
99
static const String routeName = '/basics/page_route_builder';
1010

1111
@override

animations/lib/src/basics/03_animation_controller.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import 'package:flutter/material.dart';
66

77
class AnimationControllerDemo extends StatefulWidget {
8-
const AnimationControllerDemo({Key? key}) : super(key: key);
8+
const AnimationControllerDemo({super.key});
99
static const String routeName = '/basics/animation_controller';
1010

1111
@override

animations/lib/src/basics/04_tweens.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import 'package:flutter/material.dart';
66

77
class TweenDemo extends StatefulWidget {
8-
const TweenDemo({Key? key}) : super(key: key);
8+
const TweenDemo({super.key});
99
static const String routeName = '/basics/tweens';
1010

1111
@override

animations/lib/src/basics/05_animated_builder.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import 'package:flutter/material.dart';
66

77
class AnimatedBuilderDemo extends StatefulWidget {
8-
const AnimatedBuilderDemo({Key? key}) : super(key: key);
8+
const AnimatedBuilderDemo({super.key});
99
static const String routeName = '/basics/animated_builder';
1010

1111
@override

animations/lib/src/basics/06_custom_tween.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ class TypewriterTween extends Tween<String> {
1616
}
1717

1818
class CustomTweenDemo extends StatefulWidget {
19-
const CustomTweenDemo({Key? key}) : super(key: key);
19+
const CustomTweenDemo({super.key});
2020
static const String routeName = '/basics/custom_tweens';
2121

2222
@override

animations/lib/src/basics/07_tween_sequence.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import 'package:flutter/material.dart';
66

77
class TweenSequenceDemo extends StatefulWidget {
8-
const TweenSequenceDemo({Key? key}) : super(key: key);
8+
const TweenSequenceDemo({super.key});
99
static const String routeName = '/basics/chaining_tweens';
1010

1111
@override

0 commit comments

Comments
 (0)