getFocusNode method

  1. @override
FocusNode? getFocusNode(
  1. JsonPath path, {
  2. bool createIfMissing = true,
})
override

Retreives a focus node for the specified path

Implementation

@override
FocusNode? getFocusNode(JsonPath path, {bool createIfMissing = true}) {
  var existing = _focusNodes[path];
  if (existing == null && createIfMissing) {
    existing = FocusNode(debugLabel: "$name:$path");
    _focusNodes[path] = existing;
  }
  return existing;
}