MediaRouteControllerDialog
This class implements the route controller dialog for MediaRouter.
This dialog allows the user to control or disconnect from the currently selected route.
Parameters
The media route selector for filtering the routes that the user can select using the media route chooser dialog.
The Modifier to be applied to this dialog.
Whether to enable the volume slider and volume control using the volume keys when the route supports it.
The shape of the dialog.
The color used for the background of the dialog. Use Color.Transparent to have no color.
The colors used for buttons.
The content color used for the icon.
The content color used for the title.
The content color used for the text.
When containerColor is ColorScheme.surface, a translucent primary color overlay is applied on top of the container. A higher tonal elevation value will result in a darker color in light theme and lighter color in dark theme. See also: Surface.
Typically platform specific properties to further configure the dialog.
The action to perform when this dialog is dismissed.
The view that will replace the default media controls for the currently playing content.