Skip to content

Raster cache hints on PaintingContext should assert that _currentLayer is not null #92722

@dnfield

Description

@dnfield

_currentLayer gets set when you first access the canvas.

If it's null, the hint will silently not get set.

Alternatively, we should just _startRecording when the hint(s) are set.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listframeworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework teamwaiting 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