@@ -45,13 +45,11 @@ class TapDownDetails {
45
45
final Offset localPosition;
46
46
}
47
47
48
- /// {@template flutter.gestures.tap.GestureTapDownCallback}
49
48
/// Signature for when a pointer that might cause a tap has contacted the
50
49
/// screen.
51
50
///
52
51
/// The position at which the pointer contacted the screen is available in the
53
52
/// `details` .
54
- /// {@endtemplate}
55
53
///
56
54
/// See also:
57
55
///
@@ -84,13 +82,11 @@ class TapUpDetails {
84
82
final PointerDeviceKind kind;
85
83
}
86
84
87
- /// {@template flutter.gestures.tap.GestureTapUpCallback}
88
85
/// Signature for when a pointer that will trigger a tap has stopped contacting
89
86
/// the screen.
90
87
///
91
88
/// The position at which the pointer stopped contacting the screen is available
92
89
/// in the `details` .
93
- /// {@endtemplate}
94
90
///
95
91
/// See also:
96
92
///
@@ -364,10 +360,8 @@ class TapGestureRecognizer extends BaseTapGestureRecognizer {
364
360
/// {@macro flutter.gestures.GestureRecognizer.supportedDevices}
365
361
TapGestureRecognizer ({ super .debugOwner, super .supportedDevices });
366
362
367
- /// {@template flutter.gestures.tap.TapGestureRecognizer.onTapDown}
368
363
/// A pointer has contacted the screen at a particular location with a primary
369
364
/// button, which might be the start of a tap.
370
- /// {@endtemplate}
371
365
///
372
366
/// This triggers after the down event, once a short timeout ([deadline] ) has
373
367
/// elapsed, or once the gestures has won the arena, whichever comes first.
@@ -384,10 +378,8 @@ class TapGestureRecognizer extends BaseTapGestureRecognizer {
384
378
/// * [GestureDetector.onTapDown] , which exposes this callback.
385
379
GestureTapDownCallback ? onTapDown;
386
380
387
- /// {@template flutter.gestures.tap.TapGestureRecognizer.onTapUp}
388
381
/// A pointer has stopped contacting the screen at a particular location,
389
382
/// which is recognized as a tap of a primary button.
390
- /// {@endtemplate}
391
383
///
392
384
/// This triggers on the up event, if the recognizer wins the arena with it
393
385
/// or has previously won, immediately followed by [onTap] .
@@ -419,10 +411,8 @@ class TapGestureRecognizer extends BaseTapGestureRecognizer {
419
411
/// * [GestureDetector.onTap] , which exposes this callback.
420
412
GestureTapCallback ? onTap;
421
413
422
- /// {@template flutter.gestures.tap.TapGestureRecognizer.onTapCancel}
423
414
/// A pointer that previously triggered [onTapDown] will not end up causing
424
415
/// a tap.
425
- /// {@endtemplate}
426
416
///
427
417
/// This triggers once the gesture loses the arena if [onTapDown] has
428
418
/// previously been triggered.
@@ -438,10 +428,8 @@ class TapGestureRecognizer extends BaseTapGestureRecognizer {
438
428
/// * [GestureDetector.onTapCancel] , which exposes this callback.
439
429
GestureTapCancelCallback ? onTapCancel;
440
430
441
- /// {@template flutter.gestures.tap.TapGestureRecognizer.onSecondaryTap}
442
431
/// A pointer has stopped contacting the screen, which is recognized as a tap
443
432
/// of a secondary button.
444
- /// {@endtemplate}
445
433
///
446
434
/// This triggers on the up event, if the recognizer wins the arena with it or
447
435
/// has previously won, immediately following [onSecondaryTapUp] .
@@ -456,10 +444,8 @@ class TapGestureRecognizer extends BaseTapGestureRecognizer {
456
444
/// * [GestureDetector.onSecondaryTap] , which exposes this callback.
457
445
GestureTapCallback ? onSecondaryTap;
458
446
459
- /// {@template flutter.gestures.tap.TapGestureRecognizer.onSecondaryTapDown}
460
447
/// A pointer has contacted the screen at a particular location with a
461
448
/// secondary button, which might be the start of a secondary tap.
462
- /// {@endtemplate}
463
449
///
464
450
/// This triggers after the down event, once a short timeout ([deadline] ) has
465
451
/// elapsed, or once the gestures has won the arena, whichever comes first.
@@ -476,10 +462,8 @@ class TapGestureRecognizer extends BaseTapGestureRecognizer {
476
462
/// * [GestureDetector.onSecondaryTapDown] , which exposes this callback.
477
463
GestureTapDownCallback ? onSecondaryTapDown;
478
464
479
- /// {@template flutter.gestures.tap.TapGestureRecognizer.onSecondaryTapUp}
480
465
/// A pointer has stopped contacting the screen at a particular location,
481
466
/// which is recognized as a tap of a secondary button.
482
- /// {@endtemplate}
483
467
///
484
468
/// This triggers on the up event if the recognizer wins the arena with it
485
469
/// or has previously won.
@@ -498,10 +482,8 @@ class TapGestureRecognizer extends BaseTapGestureRecognizer {
498
482
/// * [GestureDetector.onSecondaryTapUp] , which exposes this callback.
499
483
GestureTapUpCallback ? onSecondaryTapUp;
500
484
501
- /// {@template flutter.gestures.tap.TapGestureRecognizer.onSecondaryTapCancel}
502
485
/// A pointer that previously triggered [onSecondaryTapDown] will not end up
503
486
/// causing a tap.
504
- /// {@endtemplate}
505
487
///
506
488
/// This triggers once the gesture loses the arena if [onSecondaryTapDown]
507
489
/// has previously been triggered.
0 commit comments