import 'package:flutter/material.dart';

class PlayButton extends StatelessWidget {
  const PlayButton({
      Key? key,
      this.size = 64.0,
  }) : super(key: key);
  final double size;

  @override
  Widget build(BuildContext context) {
    return DecoratedBox(
      decoration: const BoxDecoration(
        shape: BoxShape.circle,
        color: Colors.black45,
      ),
      child: Padding(
        padding: const EdgeInsets.all(8),
        child: Icon(
          Icons.play_arrow,
          size: size,
        ),
      ),
    );
  }
}
