ArrowLinkProps.pill constructor

const ArrowLinkProps.pill({
  1. required String label,
  2. String? href,
  3. ArrowLinkSize size = ArrowLinkSize.sm,
  4. bool showArrow = true,
  5. bool arrowBefore = false,
  6. bool accent = true,
  7. void onTap()?,
  8. bool animateArrow = true,
})

Creates a pill-style arrow link (button-like with background).

Implementation

const ArrowLinkProps.pill({
  required this.label,
  this.href,
  this.size = ArrowLinkSize.sm,
  this.showArrow = true,
  this.arrowBefore = false,
  this.accent = true,
  this.onTap,
  this.animateArrow = true,
}) : variant = ArrowLinkVariant.pill;