BiometricLoginButton constructor

const BiometricLoginButton({
  1. Key? key,
  2. required Widget childRender(
    1. BiometricType?
    ),
  3. required String reason,
  4. required Future<void> onAuthenticated(
    1. bool
    ),
})

Constructs an instance of BiometricLoginButton.

Parameters:

  • childRender: A function that renders the child widget.
  • reason: The reason for biometric authentication.
  • onAuthenticated: A callback function that handles the authentication result.

Implementation

const BiometricLoginButton({
  super.key,
  required this.childRender,
  required this.reason,
  required this.onAuthenticated,
});