AirPlayButton constructor
const
AirPlayButton({
- Key? key,
- double size = 30.0,
- Color color = Colors.black,
- Color activeColor = Colors.white,
- VoidCallback? onRoutesOpening,
- VoidCallback? onRoutesClosed,
- Function? onPlayerStateChanged,
Creates a widget displaying a AirPlay button.
Implementation
const AirPlayButton({
super.key,
this.size = 30.0,
this.color = Colors.black,
this.activeColor = Colors.white,
this.onRoutesOpening,
this.onRoutesClosed,
this.onPlayerStateChanged,
});