ImageView constructor

const ImageView({
  1. Key? key,
  2. required Future<String> url,
  3. Duration? fadeOutDuration = const Duration(milliseconds: 250),
  4. ImageStyle style = const ImageStyle(),
  5. String? thumbHash,
  6. String? blurHash,
  7. bool hideOnError = true,
  8. String? cacheKey,
})

Implementation

const ImageView(
    {super.key,
    required this.url,
    this.fadeOutDuration = const Duration(milliseconds: 250),
    this.style = const ImageStyle(),
    this.thumbHash,
    this.blurHash,
    this.hideOnError = true,
    this.cacheKey});