ui fixing

This commit is contained in:
jayesh
2024-06-18 19:04:49 +05:30
parent 31bd2ca95f
commit 163df54b2c

View File

@@ -1,3 +1,5 @@
import 'dart:developer';
import 'package:flutter/material.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:gap/gap.dart';
@@ -12,6 +14,7 @@ class YieldDetailSection extends StatelessWidget {
@override
Widget build(BuildContext context) {
log(type.toString());
return Padding(
padding: const EdgeInsets.fromLTRB(20.0, 30, 20, 10),
child: Column(
@@ -32,6 +35,11 @@ class YieldDetailSection extends StatelessWidget {
Gap(16.h),
TextWidget()
.text20W900('+ SAR 100,000', clr: AppColor.otpTextColor),
Gap(2.h),
type == "Refund"
? const SizedBox()
: TextWidget()
.text12W500('+ \$100.00', clr: AppColor.textLabelColor),
],
),
],