Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

rotary dial locker

rotary dial locker build with flutter

rotatedial

how it works

most magic handle by guesterdetector.

  • onpanend
  • onpandown
  • onpanupdate

springhouse, 1st we locate where users tap on screen using localposition offset. for ui tap update transform angle will update automatically until it reaches its max point. we also confirm the digit by angle. then, using timer, we minimize the value and change the ui until it reaches the original position.

ui state handle using dot provider.


dots animation

dotsgif

for the dot animation you can check anim_tester.dart


text animation

textanimate


there are also different approaches that can be applied, like doing most parts just using custompainter. best approach will be using images. digit detection can handle touchpoint + radius. rotate direction can be improved by calculating angles. i gave users more flexibility ��.

but for wheels , it’s easy to do with images. also paint maker sites can help to make this shape with a short amount of time.
there are some unnecessary methods for test & future use purposes.


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD


Download this source code for
5 USD

Top