PlayButton class widgets

Play button used on the CompactPlayer.

Constructors

PlayButton({Key? key, required bool isPlaying(BuildContext context), Future onPressed(BuildContext context)?, required Color iconColor, double? iconSize})
const

Properties

iconColor → Color
final
iconSize → double?
final
isPlaying → bool Function(BuildContext context)
final
onPressed → (Future Function(BuildContext context)?)
final

Methods

createState() → State<PlayButton>
Creates the mutable state for this widget at a given location in the tree.