playPauseBuilder property

Widget Function(dynamic player, VoidCallback onTap)? playPauseBuilder
final

A builder function for the play/pause button.

This function takes the player and a callback for the tap event and returns a widget to display as the play/pause button.

Implementation

final Widget Function(dynamic player, VoidCallback onTap)? playPauseBuilder;