widget_toolkit_biometrics
library
Classes
-
BiometricsAuthDataSource
-
BiometricsAuthDataSource is a wrapper of the plugin
local_auth
and
expose its properties
-
BiometricsLocalDataSource
-
Local data source that store a flag if biometrics are enabled in the project
and can update its value
-
BiometricsRepository
-
-
BiometricsService
-
Do all the work regarding changing and checking the state of biometrics.
Under the hood uses
local_auth
plugin to handle the platform specific logic.
Needs implementation of BiometricsRepository provided into the context above,
so the service will update and read the latest user's biometrics settings.
-
BiometricsSwitch
-
Builds Material Design switch to enable or disable biometrics for a specific
need as per application. Might be overwritten using builder function.
Displays customizable notification on success switching.