getPlayButton method

Widget getPlayButton()

Implementation

Widget getPlayButton() {
  // shutter
  playButton ??= IconView(playButtonModel);
  var play = UnconstrainedBox(
      child: MouseRegion(
          cursor: SystemMouseCursors.click,
          child: GestureDetector(
              onTap: startstop,
              child: Stack(alignment: Alignment.center, children: [
                const Icon(Icons.circle, color: Colors.white38, size: 80),
                playButton!
              ]))));
  return Positioned(bottom: 0, top: 0, left: 0, right: 0, child: play);
}