tappable property Null safety

bool tappable
final

Not only does tappable mean the Surface will provide 👆 onTap Callback, it also enables Color parameters inkHighlightColor & inkSplashColor.

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

Implementation

final bool tappable, providesFeedback;