File tree 6 files changed +14
-14
lines changed
6 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -85,7 +85,7 @@ class SupaEmailAuth extends StatefulWidget {
85
85
86
86
/// {@macro supa_email_auth}
87
87
const SupaEmailAuth ({
88
- Key ? key,
88
+ super . key,
89
89
this .redirectTo,
90
90
required this .onSignInComplete,
91
91
required this .onSignUpComplete,
@@ -94,7 +94,7 @@ class SupaEmailAuth extends StatefulWidget {
94
94
this .metadataFields,
95
95
this .extraMetadata,
96
96
this .localization = const SupaEmailAuthLocalization (),
97
- }) : super (key : key) ;
97
+ });
98
98
99
99
@override
100
100
State <SupaEmailAuth > createState () => _SupaEmailAuthState ();
Original file line number Diff line number Diff line change @@ -23,12 +23,12 @@ class SupaMagicAuth extends StatefulWidget {
23
23
final SupaMagicAuthLocalization localization;
24
24
25
25
const SupaMagicAuth ({
26
- Key ? key,
26
+ super . key,
27
27
this .redirectUrl,
28
28
required this .onSuccess,
29
29
this .onError,
30
30
this .localization = const SupaMagicAuthLocalization (),
31
- }) : super (key : key) ;
31
+ });
32
32
33
33
@override
34
34
State <SupaMagicAuth > createState () => _SupaMagicAuthState ();
Original file line number Diff line number Diff line change @@ -17,12 +17,12 @@ class SupaPhoneAuth extends StatefulWidget {
17
17
final SupaPhoneAuthLocalization localization;
18
18
19
19
const SupaPhoneAuth ({
20
- Key ? key,
20
+ super . key,
21
21
required this .authAction,
22
22
required this .onSuccess,
23
23
this .onError,
24
24
this .localization = const SupaPhoneAuthLocalization (),
25
- }) : super (key : key) ;
25
+ });
26
26
27
27
@override
28
28
State <SupaPhoneAuth > createState () => _SupaPhoneAuthState ();
Original file line number Diff line number Diff line change @@ -18,12 +18,12 @@ class SupaResetPassword extends StatefulWidget {
18
18
final SupaResetPasswordLocalization localization;
19
19
20
20
const SupaResetPassword ({
21
- Key ? key,
21
+ super . key,
22
22
this .accessToken,
23
23
required this .onSuccess,
24
24
this .onError,
25
25
this .localization = const SupaResetPasswordLocalization (),
26
- }) : super (key : key) ;
26
+ });
27
27
28
28
@override
29
29
State <SupaResetPassword > createState () => _SupaResetPasswordState ();
Original file line number Diff line number Diff line change @@ -360,10 +360,10 @@ class _SupaSocialsAuthState extends State<SupaSocialsAuth> {
360
360
}
361
361
362
362
final authButtonStyle = ButtonStyle (
363
- foregroundColor: MaterialStateProperty .all (foregroundColor),
364
- backgroundColor: MaterialStateProperty .all (backgroundColor),
365
- overlayColor: MaterialStateProperty .all (overlayColor),
366
- iconColor: MaterialStateProperty .all (iconColor),
363
+ foregroundColor: WidgetStateProperty .all (foregroundColor),
364
+ backgroundColor: WidgetStateProperty .all (backgroundColor),
365
+ overlayColor: WidgetStateProperty .all (overlayColor),
366
+ iconColor: WidgetStateProperty .all (iconColor),
367
367
);
368
368
369
369
return Padding (
Original file line number Diff line number Diff line change @@ -15,11 +15,11 @@ class SupaVerifyPhone extends StatefulWidget {
15
15
final SupaVerifyPhoneLocalization localization;
16
16
17
17
const SupaVerifyPhone ({
18
- Key ? key,
18
+ super . key,
19
19
required this .onSuccess,
20
20
this .onError,
21
21
this .localization = const SupaVerifyPhoneLocalization (),
22
- }) : super (key : key) ;
22
+ });
23
23
24
24
@override
25
25
State <SupaVerifyPhone > createState () => _SupaVerifyPhoneState ();
You can’t perform that action at this time.
0 commit comments