ImageProvider.network constructor Null safety

const ImageProvider.network(
  1. String url,
  2. {@Default(1.0) double scale,
  3. Map<String, String>? headers}
)

Implementation

const factory ImageProvider.network(
  String url, {
  @Default(1.0) double scale,
  Map<String, String>? headers,
}) = NetworkImage;