How to inscribe the child into the space allocated during layout.
ImageFit get fit => _fit;
set fit (ImageFit newFit) { assert(newFit != null); if (_fit == newFit) return; _fit = newFit; _clearPaintData(); markNeedsPaint(); }