Skip to content

debugCheckHasMaterial assert should just show the entire ancestor chain, one to a line #2877

@jimbeveridge

Description

@jimbeveridge

debugGetOwnershipChain takes a parameter indicating how many layers to dump. This means that every call site separately codes the dump depth, which is hard to modify.

It would be better if there were a global default value that could be set, then add an optional positional parameter to allow the caller to override the default if desired.

Metadata

Metadata

Assignees

Labels

c: new featureNothing broken; request for a new capabilityframeworkflutter/packages/flutter repository. See also f: labels.waiting for PR to land (fixed)A fix is in flight

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions