describeMissingAncestor method Null safety
- {required Type expectedAncestorType}
Adds a description of a specific type of widget missing from the current build context's ancestry tree.
You can find an example of using this method in debugCheckHasMaterial.
Implementation
List<DiagnosticsNode> describeMissingAncestor({ required Type expectedAncestorType });