Skip to content

behlulbozal/touch_lock

Repository files navigation

Touch Lock

A beautiful widget that can be presented to the end user to prevent incorrect touches on the screen.

drawing

It is a lock system for children. If you lock the screen, it will not be unlocked without marking the correct number.

Look photos


Installation

dependencies:
  touch_lock: ^0.0.1

Simple Usage

TouchLock(
      child: Scaffold(
        body: ... ,
      ),
    );

Advanced Usage

TouchLock(
      backButton: TextButton(onPressed: null, child: Text('Click Me')) ,
      unlockButton: TextButton(onPressed: null, child: Text('Click Me')) ,
      lockButton: TextButton(onPressed: null, child: Text('Click Me'))... ,
      right: 20 , //Padding
      top: 20 , //Padding
      numbers: ['One','Two','Three','Four','Five','Six','Seven','Eight','Nine'] ,
      text: 'Choose' ,
      buttonSize: 40 ,
      child: ... ,
    );

Photos

drawing drawing drawing


Behlul Bozal [email protected]

About

A screen touch lock module for Flutter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages