VerticalLinkPreview constructor
VerticalLinkPreview({
- Key? key,
- required String url,
- required String title,
- required String description,
- required String imageUri,
- required Function onTap,
- double? titleFontSize,
- double? bodyFontSize,
- bool? showTitle,
- bool? showBody,
- TextOverflow? bodyTextOverflow,
- int? bodyMaxLines,
- Color? titleTextColor,
- Color? bodyTextColor,
- double? borderRadius,
Implementation
VerticalLinkPreview({
Key? key,
required this.url,
required this.title,
required this.description,
required this.imageUri,
required this.onTap,
this.titleFontSize,
this.bodyFontSize,
this.showTitle,
this.showBody,
this.bodyTextOverflow,
this.bodyMaxLines,
this.titleTextColor,
this.bodyTextColor,
this.borderRadius,
}) : assert(imageUri != null),
assert(title != null),
assert(url != null),
assert(description != null),
assert(onTap != null),
super(key: key);