September 2019
Beginner
512 pages
12h 52m
English
The double tap callback is very similar in code:
// part of doubletap_event_example.dart (full source code in the attached files)GestureDetector( onDoubleTap: () { setState(() { _counter++; }); }, child: ... // for brevity);
The only difference from the previous item is the property assigned, onDoubleTap, that will be called every time double taps are quickly performed at the same location on the screen.
Read now
Unlock full access