tappable property

bool tappable
final

Not only does tappable mean the Surface will provide onTap, it also adds an InkResponse to the Material before rendering child.

providesFeedback is a convenience to add a HapticFeedback.vibrate onTap.

Implementation

final bool tappable, providesFeedback;