2026-04-15

This commit is contained in:
mageshwaran committed 2026-04-15 12:32:30 +05:30
1 parent d01e5ba860
commit 96de59e9be
46 files changed
+1299 -1191

No files matched your search

@@ -71,7 +71,7 @@ class _EmployeeProfileListState extends ConsumerState<EmployeeProfileList> {
"KYC Details",
textAlign: TextAlign.center,
style: TextStyle(
fontFamily: 'Gilroy-SemiBold',
fontFamily: "Gilroy",
fontWeight: FontWeight
.w600, // equivalent to 400 (Normal)
fontStyle: FontStyle.normal,
@@ -117,7 +117,7 @@ class _EmployeeProfileListState extends ConsumerState<EmployeeProfileList> {
const Text(
"Personal Details",
style: TextStyle(
fontFamily: 'Gilroy-SemiBold',
fontFamily: "Gilroy",
fontSize: 20,
color: Color(0xFF111827),
),
@@ -202,7 +202,7 @@ class _EmployeeProfileListState extends ConsumerState<EmployeeProfileList> {
Text(
title,
style: const TextStyle(
fontFamily: 'Gilroy-SemiBold',
fontFamily: "Gilroy",
fontWeight: FontWeight.w600,
fontSize: 14,
height: 1.3,
@@ -216,7 +216,7 @@ class _EmployeeProfileListState extends ConsumerState<EmployeeProfileList> {
softWrap: true,
overflow: TextOverflow.visible,
style: const TextStyle(
fontFamily: 'Gilroy-Regular',
fontFamily: "Gilroy",
fontWeight: FontWeight.w400,
fontSize: 14,
height: 1.3,
@@ -22,6 +22,12 @@ class _EmployeeProfileScreenState extends ConsumerState<EmployeeProfileScreen> {
String? selectedItem;
bool _isLoggingOut = false;
@override
void initState() {
super.initState();
selectedItem = 'profile'; // Default selection
}
@override
Widget build(BuildContext context) {
final profileAsync = ref.watch(employeeProfileProvider);
@@ -110,7 +116,7 @@ class _EmployeeProfileScreenState extends ConsumerState<EmployeeProfileScreen> {
Text(
data?.name ?? 'No Company Name',
style: const TextStyle(
fontFamily: 'Gilroy-SemiBold',
fontFamily: "Gilroy",
fontWeight: FontWeight.w600,
fontSize: 20,
color: Colors.black,
@@ -244,7 +250,7 @@ class _EmployeeProfileScreenState extends ConsumerState<EmployeeProfileScreen> {
const Text(
"Note",
style: TextStyle(
fontFamily: 'Gilroy-SemiBold',
fontFamily: "Gilroy",
fontWeight: FontWeight.w600,
fontSize: 20,
color: Colors.black,
@@ -254,7 +260,7 @@ class _EmployeeProfileScreenState extends ConsumerState<EmployeeProfileScreen> {
"Are you sure you want to log out?",
textAlign: TextAlign.center,
style: TextStyle(
fontFamily: 'Gilroy-SemiBold',
fontFamily: "Gilroy",
fontWeight: FontWeight.w500,
fontSize: 15,
color: Colors.black87,
@@ -270,7 +276,7 @@ class _EmployeeProfileScreenState extends ConsumerState<EmployeeProfileScreen> {
style: TextStyle(
color: Color(0xFF535A5B),
fontSize: 16,
fontFamily: 'Gilroy-SemiBold',
fontFamily: "Gilroy",
fontWeight: FontWeight.w600,
),
),
@@ -321,7 +327,7 @@ class _EmployeeProfileScreenState extends ConsumerState<EmployeeProfileScreen> {
style: TextStyle(
color: Color(0xFF5F297B),
fontSize: 16,
fontFamily: 'Gilroy-SemiBold',
fontFamily: "Gilroy",
fontWeight: FontWeight.w600,
),
),
@@ -384,7 +390,7 @@ class _EmployeeProfileScreenState extends ConsumerState<EmployeeProfileScreen> {
child: Text(
title,
style: const TextStyle(
fontFamily: 'Gilroy-Medium',
fontFamily: "Gilroy",
fontSize: 16,
fontWeight: FontWeight.w500,
color: Colors.black87,