// import 'package:flutter/material.dart';
//
// class RoundedBackButton extends StatelessWidget {
//   final VoidCallback onPressed;
//   final IconData icon;
//   final Color backgroundColor;
//   final Color iconColor; todo delete
//
//   const RoundedBackButton({Key? key, this.onPressed,required this.icon,this.backgroundColor,this.iconColor}) : super(key: key);
//
//   @override
//   Widget build(BuildContext context) {
//     return Container(
//       padding: const EdgeInsets.only(left: 8),
//       decoration:  BoxDecoration(
//         shape: BoxShape.circle,
//         color: backgroundColor??Colors.blue, // Background color of the circle
//       ),
//       child:  Padding(
//         padding: const EdgeInsets.all(8),
//         child: Icon(
//           icon,
//           color: iconColor??Colors.white,
//           size: 22, // Adjust the icon size as needed
//         ),
//       ),
//     );
//   }
// }
