mirrored_repositories/Flutter_playground/packages/getx/lib
import 'package:flutter/material.dart';

class CustomElevatedButton extends StatelessWidget {
  final String text;
  final funcPageRoute;

  const CustomElevatedButton({required this.text, this.funcPageRoute});

  @override
  Widget build(BuildContext context) {
    return ElevatedButton(
      style: ElevatedButton.styleFrom(
          minimumSize: Size(double.infinity, 50),
          shape:
              RoundedRectangleBorder(borderRadius: BorderRadius.circular(20))),
      child: Text('$text'),
      onPressed: funcPageRoute,
    );
  }
}
