GestureDetector class

Inheritance

Constructors

GestureDetector({String? key, OnTapCallback? onTap, HitTestBehavior? behaviour, required Widget child})
Creates a widget that detects gestures.

Properties

behaviour HitTestBehavior?
How this gesture detector should behave during hit testing.
final
child Widget
final
hashCode int
The hash code for this object.
no setterinherited
key String?
final
onTap → OnTapCallback?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

builder(BuildableContext context) → RenderObject
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited