Merge pull request #10 from WDI-Ideas/meet

Meet
This commit is contained in:
meet2711
2024-05-31 11:06:44 +05:30
committed by GitHub
4 changed files with 109 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

View File

@@ -64,6 +64,7 @@ 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";
//Dialog
static const String exitText = "Exit";

View File

@@ -304,6 +304,114 @@ class _DetailsScreenState extends State<DetailsScreen> {
],
),
),
SizedBox(
height: 20.h,
),
Container(
width: double.infinity,
decoration: BoxDecoration(
color: Colors.white,
borderRadius: const 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,
),
],
),
],
),
),
);
},
),
)
],
),
),
),
],
),
),