content: import 'package:flutter/material.dart';
  import 'package:flutter_screenutil/flutter_screenutil.dart';
  
  class CustomElevatedButton extends StatelessWidget {
    final VoidCallback onPressed;
    final String text;
    final TextEditingController? controller;
    final double fontSize;
    final Color backgroundColor;
    final Color textColor;
    final double elevation;
    final double borderRadius;
  
    const CustomElevatedButton({
      super.key,
      required this.onPressed,
      required this.text,
      this.controller,
      this.fontSize = 16.0,
      this.backgroundColor = Colors.green,
      this.textColor = Colors.black,
      this.elevation = 0.0,
      this.borderRadius = 12,
    });
  
    @override
    Widget build(BuildContext context) {
      final height = MediaQuery.of(context).size.height;
      final width = MediaQuery.of(context).size.width;
      return ElevatedButton(
        style: ButtonStyle(
          backgroundColor: WidgetStateProperty.all<Color>(backgroundColor),
          elevation: WidgetStateProperty.all<double>(elevation),
          shape: WidgetStateProperty.all<RoundedRectangleBorder>(
            RoundedRectangleBorder(
              borderRadius: BorderRadius.circular(borderRadius.r),
            ),
          ),
          padding: WidgetStateProperty.all<EdgeInsetsGeometry>(
            EdgeInsets.symmetric(
              vertical: height * 0.015,
              horizontal: width * 0.15,
            ),
          ),
        ),
        onPressed: onPressed,
        child: Text(
          text,
          style: TextStyle(color: textColor, fontSize: fontSize),
        ),
      );
    }
  }
  