Image constructor

Image({
  1. required String src,
  2. required String alt,
  3. String? id,
  4. Iterable<String>? classes,
  5. Iterable<String>? inlineStyles,
  6. int? width,
  7. int? height,
  8. bool autoSize = true,
})

Implementation

Image({
  required this.src,
  required this.alt,
  super.id,
  super.classes,
  super.inlineStyles,
  this.width,
  this.height,
  this.autoSize = true,
}) : super(children: []);