tapSpec property

TapSpec tapSpec
final

Not only does 👆 TapSpec.tappable provide onTap Callback functionality, it also adds InkResponse to the Material underneath child.

👆 TapSpec.providesFeedback is a convenience parameter to add a HapticFeedback.vibrate onTap.

Ink splash Colors may be customized with a 👆 TapSpec.


🌟 Surface comes bundled with 🏓 package:ball.

Disable the default BouncyBall.splashFactory with 👆 TapSpec.useThemeSplashFactory or select an InteractiveInkFeatureFactory specific to this 🌟 Surface with 👆 TapSpec.splashFactory.

Implementation

final TapSpec tapSpec;