widgets_post_widgetNewsPost constructorOn this pageNewsPost constructor const NewsPost({Key? key, required Post post, dynamic function(Post)?}) Implementation const NewsPost({ Key? key, required this.post, this.function,}) : super(key: key);