We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02ebcfe commit 76aee8cCopy full SHA for 76aee8c
packages/authenticator/amplify_authenticator/lib/src/widgets/form.dart
@@ -167,11 +167,12 @@ class AuthenticatorFormState<T extends AuthenticatorForm>
167
168
@override
169
Widget build(BuildContext context) {
170
- final formKey = InheritedAuthenticatorState
171
- .of(context)
172
- .formKey;
+ final formKey = InheritedAuthenticatorState.of(context).formKey;
173
if (widget.child != null) {
174
- return Form(key: formKey, child: AutofillGroup(child: widget.child!));
+ return Form(
+ key: formKey,
+ child: AutofillGroup(child: widget.child!),
175
+ );
176
}
177
178
final runtimeActions = this.runtimeActions(context);
0 commit comments