Image constructor

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

Implementation

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