mirrored_repositories/Pretty-Ui/ListenLit/lib/features/profile/screens
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:listenlit/core/utils/utils.dart';

import '../../../../core/common/primarybutton.dart';
import '../add_paymentmethod_screen.dart';

class BottomSheetButton extends StatelessWidget {
  const BottomSheetButton({
    super.key,
  });

  @override
  Widget build(BuildContext context) {
    return Container(
      color: Colors.transparent,
      padding: EdgeInsets.only(bottom: 23.h),
      child: Padding(
        padding: EdgeInsets.only(
          left: 16.w,
          right: 16.w,
        ),
        child: PrimaryButton(
          onTap: () {
            Get.to(() => const AddPaymentMethodScreen());
          },
          borderRadius: 8,
          text: 'Add New Payment Method',
          iconData: Icons.add_circle_outline_rounded,
          textColor: AppColor.kLightAccentColor,
          bgColor: AppColor.kPrimary,
        ),
      ),
    );
  }
}
