activeLayout property

KeyboardLayout? get activeLayout

Retrieves the active layout config matching the focused field.

Implementation

KeyboardLayout? get activeLayout {
  final field = _focusedField;
  if (field != null) {
    _lastActiveLayout = layouts[field];
  }
  return _lastActiveLayout;
}