OnButtonCreated typedef
OnButtonCreated =
void Function(ChromeCastController controller)
Callback method for when the button is ready to be used.
Pass to ChromeCastButton.onButtonCreated to receive a ChromeCastController when the button is created.
Implementation
typedef void OnButtonCreated(ChromeCastController controller);