pub fn PlaybackPlayPauseButton(_: PlaybackPlayPauseButtonProps) -> ElementExpand description
A native button that plays or pauses a Playback Controller.
Supplying on_request_audio also makes the button usable while Playback is
empty. The callback can load a source; Playback starts when that source is
ready.
ยงProps
For details, see the props struct definition.
controller:AudioPlayerControllerplay_label:Stringpause_label:Stringon_request_audio:Option<EventHandler<()>>