fingerprint_auth 0.0.2

SDKflutter
Platformandroidioswindowsmacos

A package for fingerprint authentication container with functionality that you can modify variables.

The fingerprint authentication package contains a number of useful containers with functionality that can help you with building fingerprint authentication screens for your app. The package contains description and result text.

Features

Will be added later.

Getting started

packages need for use this library:

local_auth: ^2.2.0 (use their latest version)

Usage

class FingerprintAuth extends StatelessWidget {
  const FingerprintAuth({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: Center(
        child: FingerprintAuth(
          authMessage = "Scan your finger to authenticate",
          authSuccessMessage = "Authorized success",
          authNotSuccessMessage = "Failed to authenticate", 
          secondPage = Secondpage(),
          title = "Login",
          bodyText = "Fingerprint Auth",
          descriptionText = "Authenticate using your fingerprint instead of your password ",
          buttonText = "Authenticate"
        ),
      ),
    );
  }
}