messages property

Map<String, String> messages

Implementation

Map<String, String> get messages {
  return <String, String>{
    'hint': hint ?? 'Touch sensor',
    'notRecognized':
        notRecognized ?? 'Fingerprint not recognized. Try again.',
    'success': success ?? 'Authentication successful.',
    'cancel': cancel ?? 'Cancel',
    'title': title ?? 'Authentication',
    'required': requiredTitle ?? 'Fingerprint required',
    'settings': settings ?? 'Go to settings',
    'settingsDescription': settingsDescription ??
        'Fingerprint is not set up on your device. Go to \'Settings > Security\' to add your fingerprint.',
    'lockOut': lockOut ??
        'Biometric authentication is disabled. Please lock and unlock your screen to '
            'enable it.',
    'goToSetting': goToSettingsButton ?? 'Go to settings',
    'goToSettingDescriptionIOS': goToSettingsDescription ??
        'Biometric authentication is not set up on your device. Please either enable '
            'Touch ID or Face ID on your phone.',
    'okButton': cancelButton ?? 'OK',
  };
}