AirPlayButton constructor

const AirPlayButton({
  1. Key? key,
  2. double size = 30.0,
  3. Color color = Colors.black,
  4. Color activeColor = Colors.white,
  5. VoidCallback? onRoutesOpening,
  6. VoidCallback? onRoutesClosed,
  7. 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,
});