Merge pull request #53 from WDI-Ideas/jayeshjain25

ui fixing
This commit is contained in:
Jayesh jain
2024-06-18 11:38:46 +05:30
committed by GitHub
6 changed files with 70 additions and 62 deletions

View File

@@ -88,36 +88,39 @@ Widget academyCard(dynamic data) {
],
),
),
Padding(
padding:
const EdgeInsets.symmetric(vertical: 20.0, horizontal: 16.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
TextWidget().text13W500(
data['date'],
clr: AppColor.academyCardTextColor,
),
Gap(
4.h,
),
TextWidget().text17W600(
data['title'],
clr: AppColor.plainBlack,
),
Gap(
12.h,
),
SizedBox(
width: 158.w,
child: TextWidget().text14W400(
data['desc'],
maxLine: 2,
txtAlign: TextAlign.start,
Expanded(
child: Padding(
padding: const EdgeInsets.symmetric(
vertical: 20.0, horizontal: 16.0),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
TextWidget().text13W500(
data['date'],
clr: AppColor.academyCardTextColor,
),
),
],
Gap(
4.h,
),
TextWidget().text17W600(
data['title'],
clr: AppColor.plainBlack,
),
Gap(
12.h,
),
Expanded(
// width: 158.w,
child: TextWidget().text14W400(
data['desc'],
maxLine: 2,
txtOverflow: TextOverflow.fade,
txtAlign: TextAlign.start,
clr: AppColor.academyCardTextColor,
),
),
],
),
),
)
],

View File

@@ -25,7 +25,7 @@ class InvestCarouselView extends StatelessWidget {
@override
Widget build(BuildContext context) {
return Container(
height: 214.h,
height: 220.h,
padding: const EdgeInsets.symmetric(
horizontal: 15,
vertical: 15,

View File

@@ -71,22 +71,24 @@ class InvestIncludedDocumentsSection extends StatelessWidget {
],
),
Gap(
26.h,
20.h,
),
Row(
crossAxisAlignment: CrossAxisAlignment.end,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
TextWidget().text12W700("512 Mb",
clr: AppColor.portoflioCardTextColor),
Gap(
7.w,
),
Image.asset(
AppImages.donwloadIcon,
height: 20.sp,
),
],
Expanded(
child: Row(
crossAxisAlignment: CrossAxisAlignment.end,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
TextWidget().text12W700("512 Mb",
clr: AppColor.portoflioCardTextColor),
Gap(
7.w,
),
Image.asset(
AppImages.donwloadIcon,
height: 20.sp,
),
],
),
),
],
),

View File

@@ -54,7 +54,7 @@ class IncludedDocumentsSection extends StatelessWidget {
color: AppColor.documentCardBgColor,
borderRadius: BorderRadius.all(Radius.circular(10.0)),
),
padding: const EdgeInsets.all(20.0),
padding: const EdgeInsets.all(15.0),
child: Column(
children: [
Row(
@@ -71,22 +71,24 @@ class IncludedDocumentsSection extends StatelessWidget {
],
),
Gap(
12.h,
20.h,
),
Row(
crossAxisAlignment: CrossAxisAlignment.end,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
TextWidget().text12W700("512 Mb",
clr: AppColor.portoflioCardTextColor),
Gap(
7.w,
),
Image.asset(
AppImages.donwloadIcon,
height: 20.sp,
),
],
Expanded(
child: Row(
crossAxisAlignment: CrossAxisAlignment.end,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
TextWidget().text12W700("512 Mb",
clr: AppColor.portoflioCardTextColor),
Gap(
7.w,
),
Image.asset(
AppImages.donwloadIcon,
height: 20.sp,
),
],
),
),
],
),

View File

@@ -112,7 +112,7 @@ class WalletDetailsScreen extends StatelessWidget {
],
),
child: TicketWidget(
height: 360.sh,
height: 335.h,
isCornerRounded: true,
width: double.infinity,
color: AppColor.plainWhite,
@@ -122,6 +122,7 @@ class WalletDetailsScreen extends StatelessWidget {
mainAxisSize: MainAxisSize.min,
children: [
Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
getIcon(type),

View File

@@ -73,7 +73,7 @@ class FormSection extends StatelessWidget {
children: [
SizedBox(
width: 1.sw,
height: 70.h,
height: 85.h,
),
const CheckBoxWidget(),
Positioned(