@@ -45,13 +45,11 @@ class TapDownDetails {
4545 final Offset localPosition;
4646}
4747
48- /// {@template flutter.gestures.tap.GestureTapDownCallback}
4948/// Signature for when a pointer that might cause a tap has contacted the
5049/// screen.
5150///
5251/// The position at which the pointer contacted the screen is available in the
5352/// `details` .
54- /// {@endtemplate}
5553///
5654/// See also:
5755///
@@ -84,13 +82,11 @@ class TapUpDetails {
8482 final PointerDeviceKind kind;
8583}
8684
87- /// {@template flutter.gestures.tap.GestureTapUpCallback}
8885/// Signature for when a pointer that will trigger a tap has stopped contacting
8986/// the screen.
9087///
9188/// The position at which the pointer stopped contacting the screen is available
9289/// in the `details` .
93- /// {@endtemplate}
9490///
9591/// See also:
9692///
@@ -364,10 +360,8 @@ class TapGestureRecognizer extends BaseTapGestureRecognizer {
364360 /// {@macro flutter.gestures.GestureRecognizer.supportedDevices}
365361 TapGestureRecognizer ({ super .debugOwner, super .supportedDevices });
366362
367- /// {@template flutter.gestures.tap.TapGestureRecognizer.onTapDown}
368363 /// A pointer has contacted the screen at a particular location with a primary
369364 /// button, which might be the start of a tap.
370- /// {@endtemplate}
371365 ///
372366 /// This triggers after the down event, once a short timeout ([deadline] ) has
373367 /// elapsed, or once the gestures has won the arena, whichever comes first.
@@ -384,10 +378,8 @@ class TapGestureRecognizer extends BaseTapGestureRecognizer {
384378 /// * [GestureDetector.onTapDown] , which exposes this callback.
385379 GestureTapDownCallback ? onTapDown;
386380
387- /// {@template flutter.gestures.tap.TapGestureRecognizer.onTapUp}
388381 /// A pointer has stopped contacting the screen at a particular location,
389382 /// which is recognized as a tap of a primary button.
390- /// {@endtemplate}
391383 ///
392384 /// This triggers on the up event, if the recognizer wins the arena with it
393385 /// or has previously won, immediately followed by [onTap] .
@@ -419,10 +411,8 @@ class TapGestureRecognizer extends BaseTapGestureRecognizer {
419411 /// * [GestureDetector.onTap] , which exposes this callback.
420412 GestureTapCallback ? onTap;
421413
422- /// {@template flutter.gestures.tap.TapGestureRecognizer.onTapCancel}
423414 /// A pointer that previously triggered [onTapDown] will not end up causing
424415 /// a tap.
425- /// {@endtemplate}
426416 ///
427417 /// This triggers once the gesture loses the arena if [onTapDown] has
428418 /// previously been triggered.
@@ -438,10 +428,8 @@ class TapGestureRecognizer extends BaseTapGestureRecognizer {
438428 /// * [GestureDetector.onTapCancel] , which exposes this callback.
439429 GestureTapCancelCallback ? onTapCancel;
440430
441- /// {@template flutter.gestures.tap.TapGestureRecognizer.onSecondaryTap}
442431 /// A pointer has stopped contacting the screen, which is recognized as a tap
443432 /// of a secondary button.
444- /// {@endtemplate}
445433 ///
446434 /// This triggers on the up event, if the recognizer wins the arena with it or
447435 /// has previously won, immediately following [onSecondaryTapUp] .
@@ -456,10 +444,8 @@ class TapGestureRecognizer extends BaseTapGestureRecognizer {
456444 /// * [GestureDetector.onSecondaryTap] , which exposes this callback.
457445 GestureTapCallback ? onSecondaryTap;
458446
459- /// {@template flutter.gestures.tap.TapGestureRecognizer.onSecondaryTapDown}
460447 /// A pointer has contacted the screen at a particular location with a
461448 /// secondary button, which might be the start of a secondary tap.
462- /// {@endtemplate}
463449 ///
464450 /// This triggers after the down event, once a short timeout ([deadline] ) has
465451 /// elapsed, or once the gestures has won the arena, whichever comes first.
@@ -476,10 +462,8 @@ class TapGestureRecognizer extends BaseTapGestureRecognizer {
476462 /// * [GestureDetector.onSecondaryTapDown] , which exposes this callback.
477463 GestureTapDownCallback ? onSecondaryTapDown;
478464
479- /// {@template flutter.gestures.tap.TapGestureRecognizer.onSecondaryTapUp}
480465 /// A pointer has stopped contacting the screen at a particular location,
481466 /// which is recognized as a tap of a secondary button.
482- /// {@endtemplate}
483467 ///
484468 /// This triggers on the up event if the recognizer wins the arena with it
485469 /// or has previously won.
@@ -498,10 +482,8 @@ class TapGestureRecognizer extends BaseTapGestureRecognizer {
498482 /// * [GestureDetector.onSecondaryTapUp] , which exposes this callback.
499483 GestureTapUpCallback ? onSecondaryTapUp;
500484
501- /// {@template flutter.gestures.tap.TapGestureRecognizer.onSecondaryTapCancel}
502485 /// A pointer that previously triggered [onSecondaryTapDown] will not end up
503486 /// causing a tap.
504- /// {@endtemplate}
505487 ///
506488 /// This triggers once the gesture loses the arena if [onSecondaryTapDown]
507489 /// has previously been triggered.
0 commit comments