onChange method
Reacts to onChanged of the FancyPasswordField
Every call of onChange tries to update the ofending rules set.
Implementation
void onChange(String value) {
_ofendingRules.clear();
for (final rule in _rules) {
if (!rule.validate(value)) {
_ofendingRules.add(rule);
}
}
notifyListeners();
}