find<T> method

T? find<T>({
  1. Object? key,
  2. bool inValues = true,
  3. bool inDependentValues = true,
  4. bool inLocalValues = true,
  5. bool listen = true,
})

Implementation

T? find<T>(
    {Object? key,
    bool inValues = true,
    bool inDependentValues = true,
    bool inLocalValues = true,
    bool listen = true}) {
  final vk = XKey<T>(key);
  final f = _find<T>(vk);
  if (listen && f is Listenable) {
    addToListenableSingleMarkNeedsBuildListener(f);
  }
  return f;
}