findByAncestor method

  1. @override
Finder findByAncestor(
  1. Finder of,
  2. Finder matching, {
  3. bool matchRoot = false,
  4. bool firstMatchOnly = false,
})
override

Implementation

@override
Finder findByAncestor(
  Finder of,
  Finder matching, {
  bool matchRoot = false,
  bool firstMatchOnly = false,
}) {
  return find.ancestor(
    of: of,
    matching: matching,
    matchRoot: matchRoot,
  );
}