File tree 1 file changed +2
-20
lines changed
1 file changed +2
-20
lines changed Original file line number Diff line number Diff line change @@ -364,8 +364,6 @@ class _SupaEmailAuthState extends State<SupaEmailAuth> {
364
364
: null ,
365
365
builder: (FormFieldState <bool > field) {
366
366
final theme = Theme .of (context);
367
- final isDark =
368
- theme.brightness == Brightness .dark;
369
367
370
368
return Column (
371
369
crossAxisAlignment: CrossAxisAlignment .start,
@@ -389,24 +387,6 @@ class _SupaEmailAuthState extends State<SupaEmailAuth> {
389
387
contentPadding:
390
388
const EdgeInsets .symmetric (
391
389
horizontal: 4.0 ),
392
- activeColor: theme.colorScheme.primary,
393
- checkColor: theme.colorScheme.onPrimary,
394
- tileColor: isDark
395
- ? theme.inputDecorationTheme.fillColor
396
- : null ,
397
- shape: RoundedRectangleBorder (
398
- borderRadius: BorderRadius .circular (4 ),
399
- side: BorderSide (
400
- color: field.hasError
401
- ? theme.colorScheme.error
402
- : theme
403
- .inputDecorationTheme
404
- .border
405
- ? .borderSide
406
- .color ??
407
- theme.dividerColor,
408
- ),
409
- ),
410
390
),
411
391
if (field.hasError)
412
392
Padding (
@@ -440,6 +420,8 @@ class _SupaEmailAuthState extends State<SupaEmailAuth> {
440
420
prefixIcon: metadataField.prefixIcon,
441
421
),
442
422
validator: metadataField.validator,
423
+ autovalidateMode:
424
+ AutovalidateMode .onUserInteraction,
443
425
onFieldSubmitted: (_) {
444
426
if (metadataField !=
445
427
widget.metadataFields! .last) {
You can’t perform that action at this time.
0 commit comments