Image constructor

const Image({
  1. Key? key,
  2. String? alt,
  3. String? fallback,
  4. double? height,
  5. void onError()?,
  6. Widget? placeholder,
  7. bool preview = false,
  8. required String src,
  9. double? width,
})

Implementation

const Image({
  material.Key? key,
  this.alt,
  this.fallback,
  this.height,
  this.onError,
  this.placeholder,
  this.preview = false,
  required this.src,
  this.width,
}) : super(key: key);