NetworkImage constructor

const NetworkImage(
  1. String url,
  2. {double scale,
  3. Map<String, String> headers}
)

Creates an object that fetches the image at the given URL.

The arguments url and scale must not be null.

Implementation

const factory NetworkImage(String url, { double scale, Map<String, String> headers }) = network_image.NetworkImage;