TextSourceAttribution constructor

const TextSourceAttribution(
  1. String text, {
  2. Key? key,
  3. VoidCallback? onTap,
  4. bool prependCopyright = true,
  5. TextStyle? textStyle,
})

A simple text attribution displayed in the popup box of a RichAttributionWidget

Implementation

const TextSourceAttribution(
  this.text, {
  super.key,
  super.onTap,
  this.prependCopyright = true,
  TextStyle? textStyle,
})  : textStyle = textStyle ?? (onTap == null ? null : defaultLinkTextStyle),
      super._();