img function

Element img({
  1. required String src,
  2. required String alt,
  3. String? classes,
  4. Map<String, Object?> attributes = const {},
})

Implementation

Element img({
  required String src,
  required String alt,
  String? classes,
  Map<String, Object?> attributes = const {},
}) => _tag('img', const [], null, classes, {
  'src': src,
  'alt': alt,
  ...attributes,
});