Distinguish between onClick and onDoubleClick on same element to perform different actions in Dart
问题 I want to do the ill-advised and place both an onClick and onDoubleClick on the same element with each type of event resulting in a different action. Specifically on an image, click to advance to the next image, double-click to toggle fullscreen. Naturally I get two clicks followed by a double-click (though I understand that some browsers only fire one click before the double-click). I had thought to make it easy on myself and place each event into a buffer (List) - or rather to add the event