Image.asset: Load pictures resources, project resources directory is loaded in the picture, will increase the inclusions volume packaged Once your image, using a relative path.
Image.network: network resource picture, meaning that you need to join such a network path address some of http://xxxx.xxx.
Image.file: Load local images, is to load local files in the picture, this is an absolute path, nothing to do with the package body.
Image.memory: Load Uint8List resource picture,
fit
BoxFit.fill: full map display, images will be stretched, and full of the parent container.
BoxFit.contain: full map display, showing the proportion of the original, there may be a gap.
BoxFit.cover: display may stretch, may cut, full (picture to fill the entire container, not deformation).
BoxFit.fitWidth: the width of the full (full transverse), the stretching may display, may be cut.
BoxFit.fitHeight: Height full (full vertical), the display may stretch, may be cut.
BoxFit.scaleDown: effects and contain about the same, but this property is not allowed to display more than the source image size, may not be large small.