ImagePreview constructor

const ImagePreview({
  1. Key? key,
  2. required MediaProvider mediaProvider,
  3. BoxFit fit = BoxFit.cover,
  4. double? width,
  5. double? height,
})

Implementation

const ImagePreview(
    {Key? key,
    required this.mediaProvider,
    this.fit = BoxFit.cover,
    this.width,
    this.height})
    : super(key: key);