part of 'button.dart';

class AppIconButton extends StatelessWidget {
  final IconData icons;
  final Function()? onTap;
  const AppIconButton({super.key, required this.icons, required this.onTap});

  @override
  Widget build(BuildContext context) {
    return InkWell(
      onTap: onTap,
      child: Container(
        padding: const EdgeInsets.symmetric(horizontal: 12.0, vertical: 8.0),
        decoration: BoxDecoration(
          borderRadius: BorderRadius.circular(6.0),
          border: Border.all(color: AppColor.border),
        ),
        child: Icon(icons, color: AppColor.primary, size: 28),
      ),
    );
  }
}
