From 7437ad340c22e6b36f67faebedb9ccc566674783 Mon Sep 17 00:00:00 2001 From: meet2711 Date: Thu, 30 May 2024 20:31:40 +0530 Subject: [PATCH] portfolio done pics --- assets/images/portfolio_screen/document.png | Bin 0 -> 1546 bytes assets/images/portfolio_screen/download.png | Bin 0 -> 1515 bytes lib/core/styles/app_text.dart | 1 + .../presentation/pages/detailsScreen.dart | 108 ++++++++++++++++++ 4 files changed, 109 insertions(+) create mode 100644 assets/images/portfolio_screen/document.png create mode 100644 assets/images/portfolio_screen/download.png diff --git a/assets/images/portfolio_screen/document.png b/assets/images/portfolio_screen/document.png new file mode 100644 index 0000000000000000000000000000000000000000..b3842110958d747b79d1862c119ef985a5052f21 GIT binary patch literal 1546 zcmV+l2KD)gP)@~0drDELIAGL9O(c600d`2O+f$vv5yP@4q+Rm3hk-~=AX0U##;P7qjSm11&&;H6gs&QWawl z`&0poB#NZzm)8Qv6x9+vGg337>Th9JO$#yn(>?F?-~Af!csw4D$MZN4=0GcsT74|F zGpOejpv_DXfm`zHT5tpdss2A8?kT2T$k|yxNmI<2nF`p9*E%XtFGa9T`C?~c*~2MQ za2%@9>8!+@iGW%-Cf=8)-a$=JM290aIzp0Op#-G`Y;3O{$(QV+mPn7}aBG932Azi{1iX$b@nmOo@9wkKWhku0DN6EV`a*$iV#?IOv zG5;{BT?;2e;%EeQT=oS$Q{pe928R1Y(;hsh16D8c+;^@a+?1ODvL7)aMUh_C9U}W$ zB_Cd+chyIg=>2&mL-dsl)eE}mjfTI0T0uZf_4e|$<+tYRfzyVrh?fkL^KH}t-5Y86 zc2ceyaQ4(TPYhs-1P&2t)7;2uZN$?gzo#M7)}-bUf|szwTEGT^iL(oNZ>*zc^d(s6 zceSZahWH*Vu@+F?4I8HGauW&WFvoPk5bDr$U3ZivnO(sGYXKFT6J{orpsq-?6|uVJ zM)eIWuoCd|_=~n_`0A8pbdsK-#wg}f)Aaxk=Z!a?vp~9fWNa8G%JpU$p}7MP&rU!F zuNZ%aL|@dLzc5VAEfm3mC7TaT@%BZJpVU4EP6VV9Ya!KK z8u)}00VN0(PIU%QKcm7p5m4OTM5ZhUd4A^B7Tc@(EXPR@(F~IJhY}Eun}p{NeKuoU z4|RmEaPatuGXcklAYu~MdggK;CqsCV@dB2_3s@2_U`f1yCGi55#9111X9H4%c|+WF z;^e@g8>6%v;|iwOm6PMlje&D03JF&08fB=w8&h?h2q+6Q&K(tPM#!A{H_RC)0_sKV zylzYxw0J`f*0Cr-L^F0{fWzi@PggK!`agZRfFsw3GxxgpVCGi55#0yvwFJMW$ zfF0&iL(aAr#*NV%i$F?OH93LgAt_x5v?y+j_%V;LzlEX( zg&UYN3+=`zWOHAbUsyLrmtIufjbY23Q+M2$6fR)y4LIDYj2k0DU6?jT=Gl7Y%8lt~ ze4Q(B#F4pdO&3dAV7bMYj9RWIhgeW#$W^fl4SO*cFP>>=wu!)+|yea33%&p358=kd* zA%a(?>$)0TPt#CC6!D3~IJvLsKbVkoT>muSf8K6GMyyc6-%eJ+w!b%}92NX}1D0rbdF!BQ-NaB9KN_{@joJXi5}ZUHr) z#cO*^lTYsW|Aua|`JO%ijFnwxKPxCeYdqCt>cGl_9G}>cdojN7$wkZYvwcZn4zLgu z6Him<#O*;lDGE|}2;b*+NXKxo z1GOYNSTJP=vpB9`W&(bs5kHH?WZ018x>Ko2OGYZLOCoDC-C3UVFmnO#(ukwBti-J_ w2hn4Q$wVn5OGnz7u0h?M$K&yMJf1xK2Tg8FshGp~ZU6uP07*qoM6N<$g1D2%t^fc4 literal 0 HcmV?d00001 diff --git a/assets/images/portfolio_screen/download.png b/assets/images/portfolio_screen/download.png new file mode 100644 index 0000000000000000000000000000000000000000..cb30d91a9f1a385b61851a144960259630be9f67 GIT binary patch literal 1515 zcmV@~0drDELIAGL9O(c600d`2O+f$vv5yPlmgX2^mKLYmGl%N~jQW;{;-d4e%dFysmF?6PC>1j8(|0+v|;8w3~_=LyD0 zfY`;60C6+q|0nIpVXFG#!sW83KB?8Ms=ieJUDtC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++ b/lib/core/styles/app_text.dart @@ -44,4 +44,5 @@ class AppText { static const String currentval = "Current valuation"; static const String totalreturn = "Total return"; static const String disttodate = "Distributions to date"; + static const String includeddocs = "Included Documents"; } diff --git a/lib/features/MainScreens/Portfolio/presentation/pages/detailsScreen.dart b/lib/features/MainScreens/Portfolio/presentation/pages/detailsScreen.dart index 879a4eb..e97f264 100644 --- a/lib/features/MainScreens/Portfolio/presentation/pages/detailsScreen.dart +++ b/lib/features/MainScreens/Portfolio/presentation/pages/detailsScreen.dart @@ -304,6 +304,114 @@ class _DetailsScreenState extends State { ], ), ), + SizedBox( + height: 20.h, + ), + Container( + width: double.infinity, + decoration: BoxDecoration( + color: Colors.white, + borderRadius: BorderRadius.all(Radius.circular(20.0)), + boxShadow: [ + BoxShadow( + color: Colors.black.withOpacity(0.15), + spreadRadius: 2, + blurRadius: 10, + offset: Offset(0, 3), // changes position of shadow + ), + ], + ), + child: Padding( + padding: const EdgeInsets.all(20.0), + child: Column( + crossAxisAlignment: CrossAxisAlignment.start, + children: [ + Text( + AppText.includeddocs, + style: GoogleFonts.dmSans( + color: Colors.black, + fontSize: 15.sp, + fontWeight: FontWeight.w700, + ), + ), + SizedBox( + height: 16.h, + ), + GridView.count( + shrinkWrap: true, + childAspectRatio: 1.7, + mainAxisSpacing: 10.h, + crossAxisSpacing: 10.w, + crossAxisCount: 2, // Number of columns + children: List.generate( + 6, + (index) { + return Center( + child: Container( + decoration: BoxDecoration( + color: Color(0xFFF4F4F4), + borderRadius: + BorderRadius.all(Radius.circular(10.0)), + ), + padding: EdgeInsets.all(20.0), + child: Column( + children: [ + Row( + children: [ + Image.asset( + 'assets/images/portfolio_screen/document.png', + height: 16.sp, + ), + SizedBox( + width: 7.w, + ), + Text( + "Filename.pdf", + style: GoogleFonts.dmSans( + color: Colors.black, + fontSize: 12.sp, + fontWeight: FontWeight.w700, + ), + ), + ], + ), + SizedBox( + height: 14.h, + ), + Row( + crossAxisAlignment: + CrossAxisAlignment.end, + mainAxisAlignment: + MainAxisAlignment.spaceBetween, + children: [ + Text( + "512 Mb", + style: GoogleFonts.dmSans( + color: Color(0xFF535353), + fontSize: 12.sp, + fontWeight: FontWeight.w700, + ), + ), + SizedBox( + width: 7.w, + ), + Image.asset( + 'assets/images/portfolio_screen/download.png', + height: 20.sp, + ), + ], + ), + ], + ), + ), + ); + }, + ), + ) + ], + ), + ), + ), ], ), ),