import 'package:flutter/material.dart'; class TimerButton extends StatelessWidget { final VoidCallback onClicked; final Icon icon; final Color color; const TimerButton( {Key? key, required this.onClicked, required this.icon, required this.color}) : super(key: key); Widget build(BuildContext context) { return Column( children: [ InkWell( child: CircleAvatar( backgroundColor: color, radius: 50, child: icon, ), onTap: onClicked, ), ], ); } }