fit property

  1. @override
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 (the vanilla FLutter image painting method) for more details.

Implementation

@override
final BoxFit? fit;