PinnedPostCarousel constructor
const PinnedPostCarousel({Key? key, required List<Post> pinnedPosts, required Function navigateToPinnedPostPage, required Function navigateToIndividualPostPage})
Implementation
const PinnedPostCarousel({
Key? key,
required this.pinnedPosts,
required this.navigateToPinnedPostPage,
required this.navigateToIndividualPostPage,
}) : super(key: key);