diff --git a/packages/authenticator/amplify_authenticator/lib/src/l10n/auth_strings_resolver.dart b/packages/authenticator/amplify_authenticator/lib/src/l10n/auth_strings_resolver.dart index 65c5d0ecd6..901f99d275 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/l10n/auth_strings_resolver.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/l10n/auth_strings_resolver.dart @@ -2,12 +2,12 @@ // SPDX-License-Identifier: Apache-2.0 import 'package:amplify_authenticator/amplify_authenticator.dart'; -import 'package:amplify_authenticator/src/l10n/instructions_resolver.dart'; import 'package:flutter/material.dart'; export 'button_resolver.dart'; export 'dial_code_resolver.dart'; export 'input_resolver.dart'; +export 'instructions_resolver.dart'; export 'message_resolver.dart'; export 'title_resolver.dart'; @@ -24,15 +24,15 @@ class AuthStringResolver { ButtonResolver? buttons, DialCodeResolver? dialCodes, InputResolver? inputs, + InstructionsResolver? instructions, MessageResolver? messages, TitleResolver? titles, - InstructionsResolver? instructions, }) : buttons = buttons ?? const ButtonResolver(), dialCodes = dialCodes ?? const DialCodeResolver(), inputs = inputs ?? const InputResolver(), + instruction = instructions ?? const InstructionsResolver(), titles = titles ?? const TitleResolver(), - messages = messages ?? const MessageResolver(), - instruction = instructions ?? const InstructionsResolver(); + messages = messages ?? const MessageResolver(); /// The resolver class for shared button Widgets final ButtonResolver buttons; diff --git a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_field.dart b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_field.dart index 25f387bea3..f53a94b831 100644 --- a/packages/authenticator/amplify_authenticator/lib/src/widgets/form_field.dart +++ b/packages/authenticator/amplify_authenticator/lib/src/widgets/form_field.dart @@ -7,7 +7,6 @@ import 'package:amplify_authenticator/amplify_authenticator.dart'; import 'package:amplify_authenticator/src/constants/authenticator_constants.dart'; import 'package:amplify_authenticator/src/enums/enums.dart'; import 'package:amplify_authenticator/src/keys.dart'; -import 'package:amplify_authenticator/src/l10n/instructions_resolver.dart'; import 'package:amplify_authenticator/src/mixins/authenticator_date_field.dart'; import 'package:amplify_authenticator/src/mixins/authenticator_phone_field.dart'; import 'package:amplify_authenticator/src/mixins/authenticator_radio_field.dart';