link static method

HeadTag link({
  1. required String href,
  2. String rel = 'stylesheet',
  3. Map<String, Object?> props = const {},
})

Creates a link head tag descriptor.

Implementation

static HeadTag link({
  required String href,
  String rel = 'stylesheet',
  Map<String, Object?> props = const {},
}) {
  return HeadTag('link', props: {...props, 'rel': rel, 'href': href});
}