Creates a widget that displays an ImageStream obtained from the network.
The src
, scale
, and repeat arguments must not be null.
Source
Image.network(String src, { Key key, double scale: 1.0, this.width, this.height, this.color, this.fit, this.alignment, this.repeat: ImageRepeat.noRepeat, this.centerSlice, this.gaplessPlayback: false }) : image = new NetworkImage(src, scale: scale), super(key: key);