Image constructor

const Image({
  1. required String src,
  2. required String alt,
  3. double? width,
  4. double? height,
  5. bool fillWidth = false,
  6. bool cover = false,
  7. Key? key,
})

Implementation

const Image({
  required this.src,
  required this.alt,
  this.width,
  this.height,
  this.fillWidth = false,
  this.cover = false,
  super.key,
});