Skip to content

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
  • Loading branch information
juliansteenbakker committed Sep 29, 2023
1 parent 6da9b1e commit e82b053
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions lib/src/widgets/cards/additional_signup_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,10 @@ class _AdditionalSignUpCardState extends State<_AdditionalSignUpCard>
super.initState();

_nameControllers = {
for (var formField in widget.formFields)
for (final formField in widget.formFields)
formField.keyName: TextEditingController(
text: formField.defaultValue,
)
),
};

if (_nameControllers.length != widget.formFields.length) {
Expand Down Expand Up @@ -186,7 +186,7 @@ class _AdditionalSignUpCardState extends State<_AdditionalSignUpCard>
const Icon(FontAwesomeIcons.solidCircleUser),
keyboardType: TextFieldUtils.getKeyboardType(formField.userType),
autofillHints: [
TextFieldUtils.getAutofillHints(formField.userType)
TextFieldUtils.getAutofillHints(formField.userType),
],
textInputAction:
formField.keyName == widget.formFields.last.keyName
Expand All @@ -199,7 +199,7 @@ class _AdditionalSignUpCardState extends State<_AdditionalSignUpCard>
),
const SizedBox(
height: 5,
)
),
],
);
}).toList(),
Expand Down
4 changes: 2 additions & 2 deletions lib/src/widgets/cards/login_card.dart
Original file line number Diff line number Diff line change
Expand Up @@ -638,7 +638,7 @@ class _LoginCardState extends State<_LoginCard> with TickerProviderStateMixin {
loginProvider: loginProvider,
),
),
Text(loginProvider.label)
Text(loginProvider.label),
],
),
),
Expand Down Expand Up @@ -736,7 +736,7 @@ class _LoginCardState extends State<_LoginCard> with TickerProviderStateMixin {
auth,
),
),
for (var e in auth.termsOfService)
for (final e in auth.termsOfService)
TermCheckbox(
termOfService: e,
validation: auth.isSignup,
Expand Down

0 comments on commit e82b053

Please sign in to comment.