BiometricPromptOptions constructor

BiometricPromptOptions({
  1. required String title,
  2. String? description,
  3. required String cancelButtonText,
  4. String? fallbackButtonText,
})

Default constructor for BiometricPromptOptions.

Params:

  • title: title to be used to prompt the user.
  • description: an optional description to be used to prompt the user.
  • cancelButtonText: the cancel button text.
  • fallbackButtonText: the fallback button text.

Implementation

factory BiometricPromptOptions({
  required String title,
  String? description,
  required String cancelButtonText,
  String? fallbackButtonText,
}) {
  return BiometricPromptOptionsImpl(
    title: title,
    description: description,
    cancelButtonText: cancelButtonText,
    fallbackButtonText: fallbackButtonText,
  );
}