shake method

void shake()

Triggers a shake animation.

Implementation

void shake() {
  _isShaking = true;
  notifyListeners();
}