findByDescendant method

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

Finds widgets that are descendants of the of parameter and that match the matching parameter.

Implementation

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