SeoLink.external constructor

const SeoLink.external({
  1. Key? key,
  2. required String href,
  3. required Widget child,
  4. String? anchor,
  5. VoidCallback? onTap,
  6. String? rel = 'noopener noreferrer',
})

Creates an external link that opens in a new tab

Implementation

const SeoLink.external({
  super.key,
  required this.href,
  required this.child,
  this.anchor,
  this.onTap,
  this.rel = 'noopener noreferrer',
}) : external = true;