Skip to content

Commit

Permalink
chore(authenticator): Export InstructionsResolver (#5169)
Browse files Browse the repository at this point in the history
  • Loading branch information
Equartey authored Jul 19, 2024
1 parent 76f4039 commit e339a4b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand All @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down

0 comments on commit e339a4b

Please sign in to comment.