flutter multiple letter selection by sliding ( motion event )

294

You should experiment with the GestureDetector and use its pan drags gesture in Flutter

For that you simply have to put a GestureDetector as a parent of your round Widget holding the letters and detect what is getting dragged.

Share:
294
duyguevrim
Author by

duyguevrim

Updated on December 19, 2022

Comments

  • duyguevrim
    duyguevrim over 1 year

    I need to create words by dragging letters. I searched but couldn't find enough code to detect motion event. I want to select multiple letters by swiping with my finger and create word from selected letters. I need to make a word puzzle game like the one below. enter image description here how can i make a game like this?