LinkUrlConfig.defaultConfig constructor

const LinkUrlConfig.defaultConfig({
  1. String? linkText = "网页链接",
  2. dynamic onLinkTap(
    1. String linkUrl
    )?,
  3. TextStyle? linkStyle = const TextStyle(color: Color(0xFF199AED), fontSize: 15),
  4. TextStyle? contentStyle = const TextStyle(color: Color(0xFF333333), fontSize: 15),
  5. bool? enableLinkIcon = true,
  6. String? linkIconPath,
})

Implementation

const LinkUrlConfig.defaultConfig(
    {this.linkText = "网页链接",
    this.onLinkTap,
    this.linkStyle = const TextStyle(
      color: Color(0xFF199AED),
      fontSize: 15,
    ),
    this.contentStyle = const TextStyle(
      color: Color(0xFF333333),
      fontSize: 15,
    ),
    this.enableLinkIcon = true,
    this.linkIconPath});