ProNetworkImage constructor

const ProNetworkImage({
  1. Key? key,
  2. required double height,
  3. required double width,
  4. required String imageUrl,
  5. double? scale,
  6. Map<String, String>? headers,
  7. BoxFit? boxFit,
  8. Alignment? imageAlignment,
  9. double? borderRadius,
  10. Widget? child,
})

Using network image is now more easy with ProNetworkImage. Just check parameters and pass values.

Implementation

const ProNetworkImage({
  Key? key,
  required this.height,
  required this.width,
  required this.imageUrl,
  this.scale,
  this.headers,
  this.boxFit,
  this.imageAlignment,
  this.borderRadius,
  this.child,
}) : super(key: key);