triggerError method
void
triggerError()
Clears all cells and triggers the shake animation.
Call via GlobalKey<FxPinInputState> to signal a wrong entry to the user.
Implementation
void triggerError() {
_pinController.clear();
_shakeController.forward(from: 0);
}