In cases in which the placeholder's intrinsic size is updated, the preview would not be updated to use that size. When using an AsyncImagePainter from Coil, this results in the the Loading state's empty size being used to calculate the placeholder position iff the content size is resolved before the placeholder, causing the placeholder to fill the view.
This change fixes that issue by adding the placeholder's intrinsicSize as a key for the FixedSizePainter's remember call.
In cases in which the placeholder's intrinsic size is updated, the preview would not be updated to use that size. When using an
AsyncImagePainter
from Coil, this results in the theLoading
state's empty size being used to calculate the placeholder position iff the content size is resolved before the placeholder, causing the placeholder to fill the view.This change fixes that issue by adding the placeholder's
intrinsicSize
as a key for theFixedSizePainter
's remember call.