After successfully adding and compiling a pub.dev package for a new custom widget, it's time to add parameters. The straightforward ones are easy, such as assigning a Color to a parameter named bottomCardColor. However, I'm unsure how to assign a Parameter Type when it's a function. Here's a snippet for reference:
// Bottom card color
final Color? bottomCardColor;
/// On Suggestion Selected callback
final Function(PlacesDetailsResponse?)? onSuggestionSelected;