LinkPreviewConfiguration class

LinkPreviewConfiguration is a data class that has configuration properties to customize the functionality and appearance of LinkPreviewExtension

  LinkPreviewConfiguration(
   defaultImage: Image.network('some url for image'),
   style: LinkPreviewBubbleStyle(),
   theme: CometChatTheme(palette: Palette(),typography: Typography())
 );

Constructors

LinkPreviewConfiguration.new({Widget? defaultImage, CometChatTheme? theme, LinkPreviewBubbleStyle? style})

Properties

defaultImage Widget?
defaultImage is shown unable to generate image from link
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style LinkPreviewBubbleStyle?
style provides style to the link preview bubble
final
theme CometChatTheme?
theme sets custom theme
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