LinkPreviewerAad constructor

LinkPreviewerAad({
  1. Key? key,
  2. required String link,
  3. double? titleFontSize,
  4. double? bodyFontSize,
  5. Color backgroundColor = Colors.white,
  6. Color borderColor = Colors.deepOrangeAccent,
  7. Color titleTextColor = Colors.black,
  8. Color bodyTextColor = Colors.grey,
  9. Color? defaultPlaceholderColor,
  10. double? borderRadius,
  11. Widget? placeholder,
  12. bool showTitle = true,
  13. bool showBody = true,
  14. ContentDirection direction = ContentDirection.horizontal,
  15. TextOverflow? bodyTextOverflow,
  16. 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);