findByDescendant method

  1. @override
SerializableFinder findByDescendant(
  1. SerializableFinder of,
  2. SerializableFinder 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
SerializableFinder findByDescendant(
  SerializableFinder of,
  SerializableFinder matching, {
  bool matchRoot = false,
  bool firstMatchOnly = false,
}) {
  return find.descendant(
    of: of,
    matching: matching,
    matchRoot: matchRoot,
    firstMatchOnly: firstMatchOnly,
  );
}