LinkPreview constructor

const LinkPreview({
  1. required String url,
  2. required String displayUrl,
  3. required String siteName,
  4. required String title,
  5. required FormattedText description,
  6. required String author,
  7. required LinkPreviewType type,
  8. required bool hasLargeMedia,
  9. required bool showLargeMedia,
  10. required bool showMediaAboveDescription,
  11. required bool skipConfirmation,
  12. required bool showAboveText,
  13. required int instantViewVersion,
})

Implementation

const LinkPreview({
  required this.url,
  required this.displayUrl,
  required this.siteName,
  required this.title,
  required this.description,
  required this.author,
  required this.type,
  required this.hasLargeMedia,
  required this.showLargeMedia,
  required this.showMediaAboveDescription,
  required this.skipConfirmation,
  required this.showAboveText,
  required this.instantViewVersion,
});