import 'package:flutter/material.dart'; class MediaOptionButton extends StatelessWidget { final IconData icon; final String label; final Color color; final VoidCallback onTap; const MediaOptionButton({ super.key, required this.icon, required this.label, required this.color, required this.onTap, }); @override Widget build(BuildContext context) { return GestureDetector( onTap: onTap, child: Column( children: [ Container( width: 60, height: 60, decoration: BoxDecoration( color: color.withValues(alpha: 0.1), shape: BoxShape.circle, ), child: Icon(icon, color: color, size: 30), ), const SizedBox(height: 8), Text( label, style: const TextStyle(fontSize: 12, color: Colors.black), ), ], ), ); } }