Skip to content

Commit c3ce9ec

Browse files
Update dependency flutter to v3.19.4 (#241)
1 parent 8e66c8e commit c3ce9ec

Some content is hidden

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

71 files changed

+206
-239
lines changed

lib/main.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ class MyApp extends StatelessWidget {
6565
required this.darkTheme,
6666
required this.devTools,
6767
required this.fontScale,
68-
Key? key,
68+
super.key,
6969
required this.home,
70-
}) : super(key: key);
70+
});
7171

7272
@override
7373
Widget build(BuildContext context) => MultiProvider(

lib/src/api.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ class ApiApp extends StatefulWidget {
179179
const ApiApp({
180180
required this.child,
181181
this.enableBatch = true,
182-
Key? key,
183-
}) : super(key: key);
182+
super.key,
183+
});
184184

185185
@override
186186
State<ApiApp> createState() => _ApiAppState();

lib/src/screens/bookmark_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import 'package:the_app/src/widgets/threads.dart';
44
import 'package:the_app/src/config.dart';
55

66
class BookmarkListScreen extends StatelessWidget {
7-
const BookmarkListScreen({Key? key}) : super(key: key);
7+
const BookmarkListScreen({super.key});
88

99
@override
1010
Widget build(BuildContext context) => Scaffold(

lib/src/screens/content_list_view.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ class ContentListViewScreen extends StatelessWidget {
1010
final String title;
1111

1212
const ContentListViewScreen({
13-
Key? key,
13+
super.key,
1414
required this.listId,
1515
required this.title,
16-
}) : super(key: key);
16+
});
1717

1818
@override
1919
Widget build(BuildContext context) => Scaffold(

lib/src/screens/forum_list.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import 'package:the_app/src/intl.dart';
33
import 'package:the_app/src/widgets/navigation.dart';
44

55
class ForumListScreen extends StatelessWidget {
6-
const ForumListScreen({Key? key}) : super(key: key);
6+
const ForumListScreen({super.key});
77

88
@override
99
Widget build(BuildContext context) => Scaffold(

lib/src/screens/forum_view.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import 'package:the_app/src/widgets/threads.dart';
1111
class ForumViewScreen extends StatefulWidget {
1212
final Forum forum;
1313

14-
const ForumViewScreen(this.forum, {Key? key}) : super(key: key);
14+
const ForumViewScreen(this.forum, {super.key});
1515

1616
@override
1717
State<StatefulWidget> createState() => _ForumViewScreenState();

lib/src/screens/fp_view.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import 'package:the_app/src/widgets/threads.dart';
66
class FpViewScreen extends StatelessWidget {
77
final FeaturePage fp;
88

9-
const FpViewScreen(this.fp, {Key? key}) : super(key: key);
9+
const FpViewScreen(this.fp, {super.key});
1010

1111
@override
1212
Widget build(BuildContext context) => Scaffold(

lib/src/screens/home.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import 'package:the_app/src/intl.dart';
1212
class HomeScreen extends StatelessWidget {
1313
final superList = GlobalKey<SuperListState>();
1414

15-
HomeScreen({Key? key}) : super(key: key);
15+
HomeScreen({super.key});
1616

1717
@override
1818
Widget build(BuildContext context) => Scaffold(

lib/src/screens/initial_path.dart

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@ class InitialPathScreen extends StatefulWidget {
1010
final String path;
1111

1212
const InitialPathScreen(this.path,
13-
{this.defaultWidget, this.fallbackLink, Key? key})
14-
: super(key: key);
13+
{this.defaultWidget, this.fallbackLink, super.key});
1514

1615
@override
1716
State<InitialPathScreen> createState() => _InitialPathState();

lib/src/screens/login.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ void logout(BuildContext context) {
2626
}
2727

2828
class LoginForm extends StatefulWidget {
29-
const LoginForm({Key? key}) : super(key: key);
29+
const LoginForm({super.key});
3030

3131
@override
3232
State<StatefulWidget> createState() => _LoginFormState();
@@ -143,7 +143,7 @@ class _LoginFormState extends State<LoginForm> {
143143
: provider),
144144
onPressed: _isLoggingIn ? null : () => _tfaTrigger(provider),
145145
))
146-
.toList(growable: false),
146+
,
147147
tfa.triggeredProvider != null
148148
? _buildInputPadding(_buildTfaCode())
149149
: const SizedBox.shrink(),

0 commit comments

Comments
 (0)