ImageComponent constructor

const ImageComponent({
  1. Key? key,
  2. required String? imageSource,
  3. bool isNetworkImage = true,
  4. double height = 100,
  5. double width = 100,
  6. double textSize = 12,
  7. EdgeInsets edgeInsets = const EdgeInsets.all(10),
  8. bool isCircleImage = false,
  9. dynamic isImageFromFile,
})

Implementation

const ImageComponent(
    {Key? key,
      required this.imageSource,
      this.isNetworkImage = true,
      this.height = 100,
      this.width = 100,
      this.textSize = 12,
      this.edgeInsets = const EdgeInsets.all(10),
      this.isCircleImage = false,
      this.isImageFromFile})
    : super(key: key);