PageBlockRelatedArticle constructor

const PageBlockRelatedArticle({
  1. required String url,
  2. required String title,
  3. required String description,
  4. Photo? photo,
  5. required String author,
  6. required int publishDate,
})

Contains information about a related article

Implementation

const PageBlockRelatedArticle({
  required this.url,
  required this.title,
  required this.description,
  this.photo,
  required this.author,
  required this.publishDate,
});