Text.link constructor

const Text.link(
  1. String text, {
  2. TextColor? color = TextColor.accent,
  3. TextAlign? align,
  4. ArcaneStyleData? style,
  5. Key? key,
})

Implementation

const Text.link(
  this.text, {
  this.color = TextColor.accent,
  this.align,
  this.style,
  super.key,
}) : size = null,
     weight = null,
     lineHeight = null,
     letterSpacing = null,
     colorCustom = null,
     decoration = TextDecoration.none,
     transform = null,
     family = null,
     fontStyle = null,
     overflow = null,
     whiteSpace = null,
     maxLines = null,
     selectable = true,
     element = 'span';