img function

Node img({
  1. String? alt,
  2. String? crossorigin,
  3. num? height,
  4. String? ismap,
  5. String? longdesc,
  6. dynamic sizes,
  7. String? src,
  8. String? srcset,
  9. String? usemap,
  10. num? width,
  11. String? id,
  12. dynamic className,
  13. dynamic style,
  14. Map<String, dynamic> p = const {},
  15. @deprecated Map<String, dynamic> props = const {},
})

Implementation

Node img(
        {String? alt,
        String? crossorigin,
        num? height,
        String? ismap,
        String? longdesc,
        sizes,
        String? src,
        String? srcset,
        String? usemap,
        num? width,
        String? id,
        className,
        style,
        Map<String, dynamic> p = const {},
        @deprecated Map<String, dynamic> props = const {}}) =>
    SelfClosingNode(
        'img',
        _apply([
          p,
          props
        ], {
          'alt': alt,
          'crossorigin': crossorigin,
          'height': height,
          'ismap': ismap,
          'longdesc': longdesc,
          'sizes': sizes,
          'src': src,
          'srcset': srcset,
          'usemap': usemap,
          'width': width,
          'id': id,
          'class': className,
          'style': style
        }));