fit property

BoxFit? fit
final

Determines how the image should be resized to fit within its container. BoxFit.contain by default, but can be customized.

Implementation

final BoxFit? fit;