How to inscribe the image into the space allocated during layout.
The default varies based on the other fields. See the discussion at paintImage.
Source
ImageFit get fit => _fit;
Source
set fit (ImageFit value) { if (value == _fit) return; _fit = value; markNeedsPaint(); }