Skip to content

Commit d8d192a

Browse files
feat: update lints
1 parent f76598a commit d8d192a

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

example/lib/main.dart

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import 'package:form_builder_file_picker/form_builder_file_picker.dart';
55
void main() => runApp(const MyApp());
66

77
class MyApp extends StatelessWidget {
8-
const MyApp({Key? key}) : super(key: key);
8+
const MyApp({super.key});
99

1010
@override
1111
Widget build(BuildContext context) {
@@ -18,7 +18,7 @@ class MyApp extends StatelessWidget {
1818
}
1919

2020
class MyHomePage extends StatefulWidget {
21-
const MyHomePage({Key? key}) : super(key: key);
21+
const MyHomePage({super.key});
2222

2323
@override
2424
MyHomePageState createState() => MyHomePageState();

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ platforms:
3030
windows:
3131

3232
dev_dependencies:
33-
flutter_lints: ^2.0.3
33+
flutter_lints: ^4.0.0
3434
flutter_test:
3535
sdk: flutter

0 commit comments

Comments
 (0)