meta function

Element meta({
  1. String? name,
  2. String? content,
  3. String? id,
  4. String? classes,
  5. Map<String, Object?> attributes = const {},
})

A <meta>: meta(name: 'description', content: '...'), or any other form through attributes ({'property': 'og:title', 'content': ...}).

Implementation

Element meta({
  String? name,
  String? content,
  String? id,
  String? classes,
  Map<String, Object?> attributes = const {},
}) => _tag('meta', const [], id, classes, {
  'name': name,
  'content': content,
  ...attributes,
});