NiceImageViewer constructor

const NiceImageViewer({
  1. Key? key,
  2. required ImageProvider<Object> src,
  3. String? alt,
  4. double? width,
  5. double? height,
  6. bool preview = true,
  7. BoxFit fit = BoxFit.cover,
  8. double borderRadius = 8,
})

Implementation

const NiceImageViewer({
  super.key,
  required this.src,
  this.alt,
  this.width,
  this.height,
  this.preview = true,
  this.fit = BoxFit.cover,
  this.borderRadius = 8,
});