skip to Main Content

I want to get a true while finger in randomly sliding over the screen and enters a particular widget and false if finger gets out of that widget.

2

Answers


  1. There are no mouse devices on mobile, so users don’t have the luxury of using hover effects. Using a hover effect on mobile apps causes buttons to stay stuck in the hovered state when tapped. This stickiness not only confuses users, but it frustrates them when they’re forced to double-tap buttons to initiate an action. The alternative is the Inkwell widget which will show a splash when the user will enter said widget.

    Hope this helps.

    Login or Signup to reply.
  2. This behavior can be achieved using the Draggable and DragTarget widgets:

    refer to those topics:

    Drag a UI element

    Draggable Widget

    DragTarget Widget

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search