fit property

BoxFit fit
final

How the image should be inscribed into the box.

The default is BoxFit.scaleDown if centerSlice is null, and BoxFit.fill if centerSlice is not null.

See the discussion at paintImage for more details.

Implementation

final BoxFit fit