updateShouldNotify method

  1. @override
bool updateShouldNotify(
  1. covariant M3ETappableInkScope oldWidget
)
override

Whether dependents should rebuild when callbacks change.

Implementation

@override
/// Whether dependents should rebuild when callbacks change.
bool updateShouldNotify(M3ETappableInkScope oldWidget) {
  return onTap != oldWidget.onTap ||
      onLongPress != oldWidget.onLongPress ||
      mouseCursor != oldWidget.mouseCursor ||
      onTapDown != oldWidget.onTapDown ||
      onTapUp != oldWidget.onTapUp ||
      onTapCancel != oldWidget.onTapCancel ||
      onHover != oldWidget.onHover;
}