diff --git a/lib/android/keys.dart b/lib/android/keys.dart new file mode 100755 index 00000000..a1cda242 --- /dev/null +++ b/lib/android/keys.dart @@ -0,0 +1,18 @@ +import 'package:flutter/material.dart'; + +const _prefix = 'android.keys'; + +const betaDialogView = Key('$_prefix.beta_dialog'); + +const nfcTapSetting = Key('$_prefix.nfc_tap'); +const nfcKeyboardLayoutSetting = Key('$_prefix.nfc_keyboard_layout'); +const nfcBypassTouchSetting = Key('$_prefix.nfc_bypass_touch'); + +const okButton = Key('$_prefix.ok'); +const manualEntryButton = Key('$_prefix.manual_entry'); + +const launchTapAction = Key('$_prefix.tap_action_launch'); +const copyTapAction = Key('$_prefix.tap_action_copy'); +const bothTapAction = Key('$_prefix.tap_action_both'); + +Key keyboardLayoutOption(String name) => Key('$_prefix.keyboard_layout.$name'); diff --git a/lib/oath/keys.dart b/lib/oath/keys.dart new file mode 100755 index 00000000..381c2dca --- /dev/null +++ b/lib/oath/keys.dart @@ -0,0 +1,24 @@ +import 'package:flutter/material.dart'; + +const _prefix = 'oath.keys'; + +const setOrManagePasswordAction = Key('$_prefix.set_or_manage_oath_password'); +const addAccountAction = Key('$_prefix.add_account'); +const resetAction = Key('$_prefix.reset'); + +const noAccountsView = Key('$_prefix.no_accounts'); + +const searchAccountsField = Key('$_prefix.search_accounts'); +const passwordField = Key('$_prefix.password'); +const currentPasswordField = Key('$_prefix.current_password'); +const newPasswordField = Key('$_prefix.new_password'); +const confirmPasswordField = Key('$_prefix.confirm_password'); +const issuerField = Key('$_prefix.issuer'); +const nameField = Key('$_prefix.name'); +const secretField = Key('$_prefix.secret'); + +const unlockButton = Key('$_prefix.unlock'); +const saveButton = Key('$_prefix.save'); +const deleteButton = Key('$_prefix.delete'); +const savePasswordButton = Key('$_prefix.save_password'); +const removePasswordButton = Key('$_prefix.remove_password');