C1 - Created a component that accepts parameter of type Action
onEmployeeSelection(string email) => void
. This action has a required parameter of type string. (Screenshot 1)C2 - Created another component that has a widget builder parameter.
I am passing C1 as a parameter to C2. I need to declare an action as well in C1 while passing it (Screenshot 2). But the callback does not show me callback parameter. I mean, I want to do something with the email, But I can't see it in the dropdown. (Screenshot 3)
I have attached the screenshots