LinkUrlConfig class
http链接构建配置
Constructors
- LinkUrlConfig.config({String? linkText, dynamic onLinkTap(String linkUrl)?, TextStyle? linkStyle, TextStyle? contentStyle, bool? enableLinkIcon, String? linkIconPath})
- LinkUrlConfig.defaultConfig({String? linkText = "网页链接", dynamic onLinkTap(String linkUrl)?, TextStyle? linkStyle = const TextStyle(color: Color(0xFF199AED), fontSize: 15), TextStyle? contentStyle = const TextStyle(color: Color(0xFF333333), fontSize: 15), bool? enableLinkIcon = true, String? linkIconPath})
-
const
Properties
- contentStyle → TextStyle?
-
final
- enableLinkIcon → bool?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- linkIconPath → String?
-
final
- linkStyle → TextStyle?
-
final
- linkText → String?
-
final
- onLinkTap → dynamic Function(String linkUrl)?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited