button fixed

This commit is contained in:
meet2711
2024-06-20 17:34:19 +05:30
parent d0691cdd31
commit fc7bdc9aeb
3 changed files with 54 additions and 49 deletions

View File

@@ -22,7 +22,7 @@ class _DepositScreenState extends State<DepositScreen> {
int selectedIndex = 0;
@override
Widget build(BuildContext context) {
final radioBloc = context.read<RadioBloc>();
context.read<RadioBloc>();
return Scaffold(
backgroundColor: Colors.white,
appBar: AppBar(

View File

@@ -362,51 +362,58 @@ class _DepositPreviewState extends State<DepositPreview> {
)
],
),
GestureDetector(
onTap: () {
goRouter.pop();
goRouter.pop();
},
child: Container(
margin: const EdgeInsets.all(10.0),
height: 65.h,
width: double.infinity,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(22.r),
color: const Color(0xFF004717),
),
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 20.0),
child: Center(
child: Text(
AppText.submitDeposit,
style: GoogleFonts.dmSans(
color: Colors.white,
fontSize: 14.sp,
fontWeight: FontWeight.w700,
),
),
),
),
),
),
const Gap(10),
GestureDetector(
onTap: () {
goRouter.pop();
},
child: Center(
child: TextWidget().text14W700(
AppText.back,
clr: const Color(0xFF363636),
textDecoration: TextDecoration.underline,
),
),
),
],
),
),
),
bottomNavigationBar: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
GestureDetector(
onTap: () {
goRouter.pop();
goRouter.pop();
},
child: Container(
margin: const EdgeInsets.all(10.0),
height: 65.h,
width: double.infinity,
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(22.r),
color: const Color(0xFF004717),
),
child: Padding(
padding: const EdgeInsets.symmetric(vertical: 20.0),
child: Center(
child: Text(
AppText.submitDeposit,
style: GoogleFonts.dmSans(
color: Colors.white,
fontSize: 14.sp,
fontWeight: FontWeight.w700,
),
),
),
),
),
),
const Gap(10),
GestureDetector(
onTap: () {
goRouter.pop();
},
child: Center(
child: TextWidget().text14W700(
AppText.back,
clr: const Color(0xFF363636),
textDecoration: TextDecoration.underline,
),
),
),
const Gap(20),
],
),
);
}
}

View File

@@ -112,11 +112,6 @@ class DepositPayMethodSection extends StatelessWidget {
],
),
),
// const Icon(
// Icons.arrow_forward,
// color: Colors.grey,
// size: 15,
// )
],
),
],
@@ -165,6 +160,7 @@ class DepositPayMethodSection extends StatelessWidget {
],
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Container(
padding: const EdgeInsets.all(12),
@@ -201,8 +197,10 @@ class DepositPayMethodSection extends StatelessWidget {
Padding(
padding: const EdgeInsets.all(12.0),
child: TextWidget().text14W500(
AppText.instantTransferFundsApplePayText,
clr: AppColor.textLabelColor),
AppText.instantTransferFundsApplePayText,
clr: AppColor.textLabelColor,
txtAlign: TextAlign.start,
),
),
const Gap(12),
],