ImgView constructor

const ImgView({
  1. Key? key,
  2. required String url,
  3. BoxFit fit = BoxFit.contain,
  4. double? width,
  5. double? height,
  6. bool clickToView = false,
})

Implementation

const ImgView(
    {Key? key,
    required this.url,
    this.fit = BoxFit.contain,
    this.width,
    this.height,
    this.clickToView = false})
    : super(key: key);