updateShouldNotify method

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

Whether listeners should be notified.

Implementation

@override
bool updateShouldNotify(covariant final InheritedGameShortcuts oldWidget) =>
    shortcuts != oldWidget.shortcuts;