minor changes done
This commit is contained in:
@@ -41,11 +41,14 @@ class SettingsListItem extends StatelessWidget {
|
||||
trailing: Row(
|
||||
mainAxisSize: MainAxisSize.min,
|
||||
children: [
|
||||
Text(trailing,
|
||||
style: GoogleFonts.dmSans(
|
||||
fontSize: 15,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: AppColor.plainBlack)),
|
||||
Text(
|
||||
trailing,
|
||||
style: GoogleFonts.dmSans(
|
||||
fontSize: 15,
|
||||
fontWeight: FontWeight.w500,
|
||||
color: AppColor.plainBlack,
|
||||
),
|
||||
),
|
||||
const Gap(10),
|
||||
const Icon(Icons.arrow_forward_ios, size: 16.0),
|
||||
],
|
||||
|
||||
@@ -224,7 +224,7 @@ class _DepositScreenState extends State<DepositScreen> {
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
Text(
|
||||
'Fee',
|
||||
AppText.feeText,
|
||||
style: GoogleFonts.dmSans(
|
||||
color: const Color(0xFF535353),
|
||||
fontSize: 14.sp,
|
||||
@@ -245,7 +245,7 @@ class _DepositScreenState extends State<DepositScreen> {
|
||||
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
||||
children: [
|
||||
Text(
|
||||
'Total Deposit amount:',
|
||||
AppText.depositAmt,
|
||||
style: GoogleFonts.dmSans(
|
||||
color: const Color(0xFF535353),
|
||||
fontSize: 14.sp,
|
||||
|
||||
@@ -47,7 +47,7 @@ class _KYCScreenState extends State<KYCScreen> {
|
||||
height: 24.h,
|
||||
),
|
||||
Text(
|
||||
'Almost here...',
|
||||
AppText.almostHere,
|
||||
style: GoogleFonts.dmSans(
|
||||
color: const Color(0xFF363636),
|
||||
fontSize: 17.sp,
|
||||
@@ -60,7 +60,7 @@ class _KYCScreenState extends State<KYCScreen> {
|
||||
SizedBox(
|
||||
width: 280.w,
|
||||
child: Text(
|
||||
'Complete account profile in 3 minutes to start investing',
|
||||
AppText.completeAcc,
|
||||
textAlign: TextAlign.center,
|
||||
style: GoogleFonts.dmSans(
|
||||
color: const Color(0xFF8D8D8D),
|
||||
|
||||
@@ -148,7 +148,7 @@ class _WalletScreenState extends State<WalletScreen> {
|
||||
),
|
||||
),
|
||||
Text(
|
||||
'Deposit',
|
||||
AppText.deposit,
|
||||
style: GoogleFonts.dmSans(
|
||||
color: const Color(0xFF363636),
|
||||
fontSize: 12.sp,
|
||||
@@ -183,7 +183,7 @@ class _WalletScreenState extends State<WalletScreen> {
|
||||
),
|
||||
),
|
||||
Text(
|
||||
'Withdraw',
|
||||
AppText.withdraw,
|
||||
style: GoogleFonts.dmSans(
|
||||
color: const Color(0xFF363636),
|
||||
fontSize: 12.sp,
|
||||
|
||||
@@ -273,7 +273,7 @@ class _WithdrawalConfirmationState extends State<WithdrawalConfirmation> {
|
||||
padding: const EdgeInsets.symmetric(vertical: 20.0),
|
||||
child: Center(
|
||||
child: Text(
|
||||
'Close',
|
||||
AppText.closeText,
|
||||
style: GoogleFonts.dmSans(
|
||||
color: Colors.white,
|
||||
fontSize: 14.sp,
|
||||
|
||||
@@ -35,7 +35,7 @@ class _AccountappState extends State<FAQScreen> {
|
||||
Padding(
|
||||
padding: EdgeInsets.only(left: 16.w, top: 23.h),
|
||||
child: Text(
|
||||
"Frequently Asked Questions:",
|
||||
AppText.faqTitle,
|
||||
style: GoogleFonts.dmSans(
|
||||
fontSize: 18.sp,
|
||||
color: AppColor.charcoalColor,
|
||||
@@ -52,78 +52,75 @@ class _AccountappState extends State<FAQScreen> {
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.w),
|
||||
child: ExpansionTileGroup(
|
||||
spaceBetweenItem: 23,
|
||||
toggleType: ToggleType.expandOnlyCurrent,
|
||||
children: List.generate(
|
||||
faList.length,
|
||||
(index) => ExpansionTileItem(
|
||||
isHasBottomBorder: true,
|
||||
isHasLeftBorder: true,
|
||||
isHasRightBorder: true,
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: AppColor.plainBlack.withOpacity(0.15),
|
||||
spreadRadius: 2,
|
||||
blurRadius: 10,
|
||||
offset: const Offset(
|
||||
0, 3), // changes position of shadow
|
||||
),
|
||||
],
|
||||
isHasTopBorder: true,
|
||||
collapsedBackgroundColor:
|
||||
AppColor.portfolioCardBgColor,
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
onExpansionChanged: (bool expanding) {
|
||||
if (expanding) {
|
||||
setState(() {
|
||||
selectedTile = index;
|
||||
});
|
||||
} else {
|
||||
setState(() {
|
||||
selectedTile = -1;
|
||||
});
|
||||
}
|
||||
},
|
||||
backgroundColor: AppColor.portfolioCardBgColor,
|
||||
childrenPadding: EdgeInsets.only(
|
||||
left: 0.w,
|
||||
right: 0.w,
|
||||
bottom: 8.h,
|
||||
top: 10.h),
|
||||
initiallyExpanded: index == selectedTile,
|
||||
isHasTrailing: false,
|
||||
title: Text(
|
||||
faList[index]['title']!,
|
||||
maxLines: 3,
|
||||
style: GoogleFonts.dmSans(
|
||||
fontSize: 16.sp,
|
||||
color: AppColor.otpTextColor,
|
||||
fontWeight: FontWeight.w600),
|
||||
spaceBetweenItem: 23,
|
||||
toggleType: ToggleType.expandOnlyCurrent,
|
||||
children: List.generate(
|
||||
faList.length,
|
||||
(index) => ExpansionTileItem(
|
||||
isHasBottomBorder: true,
|
||||
isHasLeftBorder: true,
|
||||
isHasRightBorder: true,
|
||||
boxShadow: [
|
||||
BoxShadow(
|
||||
color: AppColor.plainBlack.withOpacity(0.15),
|
||||
spreadRadius: 2,
|
||||
blurRadius: 10,
|
||||
offset:
|
||||
const Offset(0, 3), // changes position of shadow
|
||||
),
|
||||
],
|
||||
isHasTopBorder: true,
|
||||
collapsedBackgroundColor: AppColor.portfolioCardBgColor,
|
||||
borderRadius: BorderRadius.circular(10),
|
||||
onExpansionChanged: (bool expanding) {
|
||||
if (expanding) {
|
||||
setState(() {
|
||||
selectedTile = index;
|
||||
});
|
||||
} else {
|
||||
setState(() {
|
||||
selectedTile = -1;
|
||||
});
|
||||
}
|
||||
},
|
||||
backgroundColor: AppColor.portfolioCardBgColor,
|
||||
childrenPadding: EdgeInsets.only(
|
||||
left: 0.w, right: 0.w, bottom: 8.h, top: 10.h),
|
||||
initiallyExpanded: index == selectedTile,
|
||||
isHasTrailing: false,
|
||||
title: Text(
|
||||
faList[index]['title']!,
|
||||
maxLines: 3,
|
||||
style: GoogleFonts.dmSans(
|
||||
fontSize: 16.sp,
|
||||
color: AppColor.otpTextColor,
|
||||
fontWeight: FontWeight.w600),
|
||||
),
|
||||
children: <Widget>[
|
||||
Container(
|
||||
margin: const EdgeInsets.symmetric(horizontal: 5),
|
||||
width: 1.sw,
|
||||
// height: 109.h,
|
||||
decoration: BoxDecoration(
|
||||
color: AppColor.plainWhite,
|
||||
borderRadius: BorderRadius.circular(10.r),
|
||||
),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: 12.w, vertical: 10.h),
|
||||
child: Text(
|
||||
faList[index]['answer']!,
|
||||
style: GoogleFonts.dmSans(
|
||||
fontSize: 16.sp,
|
||||
color: AppColor.investPaymentTextColor,
|
||||
),
|
||||
children: <Widget>[
|
||||
Container(
|
||||
margin:
|
||||
const EdgeInsets.symmetric(horizontal: 5),
|
||||
width: 1.sw,
|
||||
// height: 109.h,
|
||||
decoration: BoxDecoration(
|
||||
color: AppColor.plainWhite,
|
||||
borderRadius: BorderRadius.circular(10.r),
|
||||
),
|
||||
child: Padding(
|
||||
padding: EdgeInsets.symmetric(
|
||||
horizontal: 12.w, vertical: 10.h),
|
||||
child: Text(
|
||||
faList[index]['answer']!,
|
||||
style: GoogleFonts.dmSans(
|
||||
fontSize: 16.sp,
|
||||
color: AppColor.investPaymentTextColor,
|
||||
),
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
))),
|
||||
),
|
||||
),
|
||||
)
|
||||
],
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user