LinkPreviewConfiguration class

Constructors

LinkPreviewConfiguration({StringCallback? onUrlDetect, Color? loadingColor, Color? backgroundColor, double? borderRadius, TextStyle? bodyStyle, TextStyle? titleStyle, TextStyle? linkStyle, EdgeInsetsGeometry? padding, String? proxyUrl})
const

Properties

backgroundColor Color?
Used for giving background colour of message with link.
final
bodyStyle TextStyle?
Used for giving text style of body text in message with link.
final
borderRadius double?
Used for giving border radius of message with link.
final
hashCode int
The hash code for this object.
no setterinherited
linkStyle TextStyle?
Used for giving text style of link text in message with link.
final
loadingColor Color?
Used for giving colour of loader in message with link.
final
onUrlDetect StringCallback?
Provides callback when message detect url in message.
final
padding EdgeInsetsGeometry?
Used for giving padding to message with link.
final
proxyUrl String?
Used for giving proxy url to message with link.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
titleStyle TextStyle?
Used for giving text style of title text in message with link.
final

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