Image constructor

const Image({
  1. Key? key,
  2. required String src,
  3. int? width,
  4. int? height,
  5. String? alt,
  6. Map<String, String>? attributes,
})

Implementation

const Image({
  super.key,
  required this.src,
  this.width,
  this.height,
  this.alt,
  this.attributes,
});