Skip to main content

NewsPost constructor

const NewsPost({Key? key, required Post post, dynamic function(Post)?})

Implementation

const NewsPost(\{
Key? key,
required this.post,
this.function,
\}) : super(key: key);