dispose method
void
dispose()
Disposes resources used by this feature state.
Called when the feature is detached from the text field.
Implementation
void dispose() {
_visibilityController.dispose();
for (var dependency in feature.visibility.getDependencies(_inputState!)) {
dependency.removeListener(_updateVisibility);
}
}