TextSourceAttribution constructor
const
TextSourceAttribution(
- String text, {
- Key? key,
- VoidCallback? onTap,
- bool prependCopyright = true,
- 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._();