LinkPreviewerAad constructor
LinkPreviewerAad({
- Key? key,
- required String link,
- double? titleFontSize,
- double? bodyFontSize,
- Color backgroundColor = Colors.white,
- Color borderColor = Colors.deepOrangeAccent,
- Color titleTextColor = Colors.black,
- Color bodyTextColor = Colors.grey,
- Color? defaultPlaceholderColor,
- double? borderRadius,
- Widget? placeholder,
- bool showTitle = true,
- bool showBody = true,
- ContentDirection direction = ContentDirection.horizontal,
- TextOverflow? bodyTextOverflow,
- int? bodyMaxLines,
Implementation
LinkPreviewerAad({
Key? key,
required this.link,
this.titleFontSize,
this.bodyFontSize,
this.backgroundColor = Colors.white,
this.borderColor = Colors.deepOrangeAccent,
this.titleTextColor = Colors.black,
this.bodyTextColor = Colors.grey,
this.defaultPlaceholderColor,
this.borderRadius,
this.placeholder,
this.showTitle = true,
this.showBody = true,
this.direction = ContentDirection.horizontal,
this.bodyTextOverflow,
this.bodyMaxLines,
}) : super(key: key);