1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-12 07:48:55 +00:00

Add use_super_parameters lint (#1269)

This commit is contained in:
Brett Morgan
2022-05-17 02:53:27 -07:00
committed by GitHub
parent 58bc5d7a58
commit 3a0a652984
33 changed files with 90 additions and 100 deletions

View File

@@ -13,8 +13,8 @@ class SignInPage extends StatelessWidget {
const SignInPage({
required this.auth,
required this.onSuccess,
Key? key,
}) : super(key: key);
super.key,
});
@override
Widget build(BuildContext context) {
@@ -33,8 +33,8 @@ class SignInButton extends StatefulWidget {
const SignInButton({
required this.auth,
required this.onSuccess,
Key? key,
}) : super(key: key);
super.key,
});
@override
State<SignInButton> createState() => _SignInButtonState();