feat: profile page
This commit is contained in:
@@ -55,6 +55,13 @@ class PathAssets {
|
||||
static const String iconNavigationPortfolio = 'assets/icons/icon-navigation-portfolio.png';
|
||||
static const String iconNavigationProfile = 'assets/icons/icon-navigation-profile.png';
|
||||
static const String iconRemove = 'assets/icons/icon-remove.png';
|
||||
static const String iconCat = 'assets/icons/icon-cat.png';
|
||||
static const String iconProfile = 'assets/icons/icon-profile.png';
|
||||
static const String iconPadlock = 'assets/icons/icon-padlock.png';
|
||||
static const String iconCard = 'assets/icons/icon-card.png';
|
||||
static const String iconSetting = 'assets/icons/icon-setting.png';
|
||||
static const String iconFaqs = 'assets/icons/icon-faqs.png';
|
||||
static const String iconLogout = 'assets/icons/icon-logout.png';
|
||||
|
||||
/// IMAGE
|
||||
static const String imgSplashLogo = 'assets/images/splash-logo.png';
|
||||
@@ -92,6 +99,8 @@ class PathAssets {
|
||||
static const String imgPaymentSuccess = 'assets/images/img-payment-success.png';
|
||||
static const String frameSignature = 'assets/images/frame-signature.png';
|
||||
static const String imgFinish = 'assets/images/img-finish.png';
|
||||
static const String imgDashboardProfile =
|
||||
'assets/images/img-dashboard-profile.png';
|
||||
|
||||
static const Map<String, String> goalInvestIcon = {
|
||||
'Education': iconToga,
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import 'package:cims_apps/application/assets/path_assets.dart';
|
||||
import 'package:cims_apps/application/component/image/image_view.dart';
|
||||
import 'package:cims_apps/application/theme/color_palette.dart';
|
||||
import 'package:cims_apps/core/utils/size_config.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
@@ -86,7 +84,7 @@ class NumericPad extends StatelessWidget {
|
||||
}
|
||||
|
||||
Widget spaceWidget() {
|
||||
return Expanded(
|
||||
return const Expanded(
|
||||
child: SizedBox()
|
||||
);
|
||||
}
|
||||
@@ -98,11 +96,12 @@ class NumericPad extends StatelessWidget {
|
||||
onNumberSelected(number);
|
||||
},
|
||||
child: Container(
|
||||
color: Colors.transparent,
|
||||
padding: EdgeInsets.symmetric(vertical: SizeConfig.height * .028),
|
||||
child: Text(
|
||||
number,
|
||||
textAlign: TextAlign.center,
|
||||
style: TextStyle(
|
||||
style: const TextStyle(
|
||||
fontSize: 28,
|
||||
fontWeight: FontWeight.bold,
|
||||
color: ColorPalette.slate800
|
||||
@@ -119,10 +118,14 @@ class NumericPad extends StatelessWidget {
|
||||
onTap: () {
|
||||
onNumberSelected('');
|
||||
},
|
||||
child: Icon(
|
||||
Icons.backspace_outlined,
|
||||
size: 28,
|
||||
color: ColorPalette.slate800,
|
||||
child: Container(
|
||||
color: Colors.transparent,
|
||||
padding: EdgeInsets.symmetric(vertical: SizeConfig.height * .028),
|
||||
child: const Icon(
|
||||
Icons.backspace_outlined,
|
||||
size: 28,
|
||||
color: ColorPalette.slate800,
|
||||
),
|
||||
),
|
||||
)
|
||||
);
|
||||
|
||||
@@ -5,17 +5,20 @@ class TextTitle extends StatelessWidget {
|
||||
final String title;
|
||||
final Color? color;
|
||||
final double? fontSize;
|
||||
final TextAlign? textAlign;
|
||||
const TextTitle({
|
||||
Key? key,
|
||||
required this.title,
|
||||
this.color,
|
||||
this.fontSize,
|
||||
this.textAlign,
|
||||
}) : super(key: key);
|
||||
|
||||
@override
|
||||
Widget build(BuildContext context) {
|
||||
return Text(
|
||||
title,
|
||||
textAlign: textAlign,
|
||||
style: TextStyle(
|
||||
fontSize: fontSize ?? 20,
|
||||
fontWeight: FontWeight.w700,
|
||||
|
||||
@@ -75,6 +75,7 @@ class ColorPalette {
|
||||
static const Color backgroundBlueLight = Color(0xFFEBF3FD);
|
||||
static const Color blue50 = Color(0xFFEFF6FF);
|
||||
static const Color blue200 = Color(0xFFBFDBFE);
|
||||
static const Color blue600 = Color(0xFF2563EB);
|
||||
static const Color blue900 = Color(0xFF1E3A8A);
|
||||
static const Color slate50 = Color(0xFFF8FAFC);
|
||||
static const Color slate200 = Color(0xFFE2E8F0);
|
||||
@@ -90,9 +91,11 @@ class ColorPalette {
|
||||
static const Color cyan100 = Color(0xFFCFFAFE);
|
||||
static const Color cyan500 = Color(0xFF06B6D4);
|
||||
static const Color green100 = Color(0xFFDCFCE7);
|
||||
static const Color green300 = Color(0xFF86EFAC);
|
||||
static const Color green400 = Color(0xFF4ADE80);
|
||||
static const Color green500 = Color(0xFF16A34A);
|
||||
static const Color red600 = Color(0xffDC2626);
|
||||
static const Color red600 = Color(0xFFDC2626);
|
||||
static const Color red50 = Color(0xFFFEF2F2);
|
||||
|
||||
static const Map<String, Color> investTypeColor = {
|
||||
'Money Market': purple500,
|
||||
@@ -107,4 +110,16 @@ class ColorPalette {
|
||||
'Sharia': green100,
|
||||
'Bonds': cyan100
|
||||
};
|
||||
|
||||
static const Map<String, Color> riskColor = {
|
||||
'Moderate': orange500,
|
||||
'Conservative': green500,
|
||||
'Aggressive': cyan500
|
||||
};
|
||||
|
||||
static const Map<String, Color> textRiskColor = {
|
||||
'Moderate': orange500,
|
||||
'Conservative': green300,
|
||||
'Aggressive': cyan500
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user