NetworkImage constructor

const NetworkImage(
  1. String url, {
  2. Map<String, String> headers = const {},
  3. int? maximumBytes,
  4. int? decodeFrame,
  5. Set<String> allowedContentTypes = const <String>{},
  6. Set<String> blockedContentTypes = const <String>{},
})

Implementation

const NetworkImage(
  this.url, {
  this.headers = const {},
  this.maximumBytes,
  this.decodeFrame,
  this.allowedContentTypes = const <String>{},
  this.blockedContentTypes = const <String>{},
});