YJImageWidget constructor

const YJImageWidget({
  1. required String imageName,
  2. double height = double.infinity,
  3. double width = double.infinity,
  4. BoxFit fit = BoxFit.fill,
})

Implementation

const YJImageWidget(
    {required this.imageName,
    this.height = double.infinity,
    this.width = double.infinity,
    this.fit = BoxFit.fill});