buildCenterPause method

Widget buildCenterPause(
  1. VoidCallback onTap
)

Implementation

Widget buildCenterPause(VoidCallback onTap) {
  return Center(
    child: CupertinoButton(
      padding: EdgeInsets.zero,
      onPressed: onTap,
      child: Container(
        decoration: BoxDecoration(
          shape: BoxShape.circle,
          color: Colors.black26,
        ),
        child: const Icon(
          Icons.play_arrow,
          color: Colors.white,
          size: 60,
        ),
      ),
    ),
  );
}