File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ part 'auth_controller.dart';
1111
1212class FirebasePhoneAuthHandler extends StatefulWidget {
1313 const FirebasePhoneAuthHandler ({
14- Key ? key,
14+ super . key,
1515 required this .phoneNumber,
1616 required this .builder,
1717 this .onLoginSuccess,
@@ -26,7 +26,7 @@ class FirebasePhoneAuthHandler extends StatefulWidget {
2626 this .otpExpirationDuration =
2727 FirebasePhoneAuthController .kAutoRetrievalTimeOutDuration,
2828 this .recaptchaVerifierForWebProvider,
29- }) : super (key : key) ;
29+ });
3030
3131 /// {@template phoneNumber}
3232 ///
@@ -175,8 +175,7 @@ class FirebasePhoneAuthHandler extends StatefulWidget {
175175 FirebasePhoneAuthController ._of (context, listen: false ).signOut ();
176176
177177 @override
178- // ignore: library_private_types_in_public_api
179- _FirebasePhoneAuthHandlerState createState () =>
178+ State <FirebasePhoneAuthHandler > createState () =>
180179 _FirebasePhoneAuthHandlerState ();
181180}
182181
Original file line number Diff line number Diff line change @@ -6,9 +6,9 @@ import 'package:provider/provider.dart';
66/// to enable your application to support phone authentication.
77class FirebasePhoneAuthProvider extends StatelessWidget {
88 const FirebasePhoneAuthProvider ({
9- Key ? key,
9+ super . key,
1010 required this .child,
11- }) : super (key : key) ;
11+ });
1212
1313 /// The child of the widget.
1414 final Widget child;
You can’t perform that action at this time.
0 commit comments