content: import 'package:flutter/material.dart';
  import 'package:t_store/utils/constraints/colors.dart';
  import 'package:t_store/utils/constraints/sizes.dart';
  import 'package:t_store/utils/helpers/helper_functions.dart';
  
  class TCircularIcon extends StatelessWidget {
    const TCircularIcon({
      super.key,
      this.width,
      this.height,
      this.size = TSizes.lg,
      required this.icon,
      this.color,
      this.backgroundColor,
      this.onPressed,
    });
  
    final double? width, height, size;
    final IconData icon;
    final Color? color;
    final Color? backgroundColor;
    final VoidCallback? onPressed;
  
    @override
    Widget build(BuildContext context) {
      return Container(
        width: width,
        height: height,
        decoration: BoxDecoration(
          color: backgroundColor != null
              ? backgroundColor!
              : THelperFunctions.isDarkMode(context)
                  ? TColors.black.withOpacity(0.9)
                  : TColors.white.withOpacity(0.9),
          borderRadius: BorderRadius.circular(100),
        ),
        child: IconButton(onPressed: () {}, icon: Icon(icon, color: color, size: size,)),
      );
    }
  }
  