toggleLock method

void toggleLock(
  1. Field field
)

Get the TextEditingController for a particular field.

Implementation

void toggleLock(Field field) {
  _lockNotifiersByField[field]!.value = !_lockNotifiersByField[field]!.value;
}