PlayButton constructor

const PlayButton(
  1. {Key? key,
  2. required bool isPlaying(
    1. BuildContext context
    ),
  3. Future onPressed(
    1. BuildContext context
    )?,
  4. required Color iconColor,
  5. double? iconSize}
)

Implementation

const PlayButton(
    {super.key,
    required this.isPlaying,
    this.onPressed,
    required this.iconColor,
    this.iconSize});