flutter_app_lock 1.3.1
flutter_app_lock: ^1.3.1 copied to clipboard
A Flutter package for showing a lock screen on app open and app pause.
1.3.1 16th May 2020 #
showLockScreen
is now a Future
.
await AppLock.of(context).showLockScreen();
print('Did unlock!');
1.3.0 16th May 2020 #
New functionality to show the lock screen on-demand.
AppLock.of(context).showLockScreen();
1.2.0+1 21st Feb 2020 #
Update to description.
1.2.0 21st Dec 2019 #
New functionality to enable or disable the lockScreen
at launch and on-demand.
runApp(AppLock(
builder: ...,
lockScreen: ...,
enabled: false,
));
AppLock.of(context).enable();
AppLock.of(context).disable();
1.1.0+2 21st Dec 2019 #
- Removing deprecating
child
method in preference for thebuilder
method. - Updating Flutter version constraints
1.1.0+1 15th Dec 2019 #
Deprecating child
method in preference for the builder
method - simply a name change.
1.1.0 15th Dec 2019 #
Breaking change
An argument can now be passed in to the AppLock
method didUnlock
and is accessible through the builder method, child
- this should be considered a breaking change as the builder method, child
requires a parameter even if null is passed in to didUnlock
.
1.0.0 15th Dec 2019 #
Initial release
Use AppLock
to provide lock screen functionality to you Flutter apps.