UI-ThemeColor Changed
This commit is contained in:
parent
6e2fa1fc81
commit
f1ab37cad6
@ -16,7 +16,7 @@ import 'dart:typed_data';
|
||||
import 'dart:io';
|
||||
import 'package:flutter/foundation.dart' show kIsWeb;
|
||||
import 'package:intl/intl.dart';
|
||||
import 'package:excel/excel.dart';
|
||||
|
||||
import 'package:path_provider/path_provider.dart';
|
||||
import 'package:path/path.dart' as path;
|
||||
import 'package:collection/collection.dart';
|
||||
@ -187,6 +187,10 @@ class _HrPolicyDetailsState extends State<hrPolicyDetails>
|
||||
.toString()
|
||||
.toLowerCase()
|
||||
.contains(query.toLowerCase()) ||
|
||||
row['status']
|
||||
.toString()
|
||||
.toLowerCase()
|
||||
.contains(query.toLowerCase()) ||
|
||||
empStatus.contains(query.toLowerCase());
|
||||
}).toList();
|
||||
});
|
||||
@ -220,7 +224,7 @@ class _HrPolicyDetailsState extends State<hrPolicyDetails>
|
||||
item['gender'] ?? '',
|
||||
item['mobile'] ?? '',
|
||||
item['email_corporate'] ?? '',
|
||||
item['emp_is_active'] == "1" ? 'Active' : 'Inactive',
|
||||
item['status'] ?? '',
|
||||
]);
|
||||
}
|
||||
|
||||
@ -601,6 +605,13 @@ class _HrPolicyDetailsState extends State<hrPolicyDetails>
|
||||
const EdgeInsets.symmetric(vertical: 5, horizontal: 16),
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.white,
|
||||
border: Border(
|
||||
bottom: BorderSide(
|
||||
// color: Color(0xFFA1A1A1),
|
||||
color: Color(0xFFD7E9EB),
|
||||
width: 1,
|
||||
),
|
||||
),
|
||||
// color: index % 2 == 0 ? Color(0xFFE6FAFB) : Colors.white,
|
||||
borderRadius: BorderRadius.circular(6),
|
||||
),
|
||||
@ -747,15 +758,15 @@ class _HrPolicyDetailsState extends State<hrPolicyDetails>
|
||||
decoration: BoxDecoration(
|
||||
color: Color(0xFFE6F5F6),
|
||||
borderRadius: BorderRadius.circular(12)),
|
||||
child: Icon(
|
||||
Icons.policy,
|
||||
color: Color(0xFF3D3D3D),
|
||||
),
|
||||
// child: Image.asset(
|
||||
// 'assets/claims.jpg',
|
||||
// height: 20,
|
||||
// fit: BoxFit.cover,
|
||||
// child: Icon(
|
||||
// Icons.policy,
|
||||
// color: Color(0xFF3D3D3D),
|
||||
// ),
|
||||
child: Image.asset(
|
||||
'assets/claims.jpg',
|
||||
height: 20,
|
||||
fit: BoxFit.cover,
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import 'package:flutter/material.dart';
|
||||
import 'package:google_fonts/google_fonts.dart';
|
||||
import 'package:nhancepolicy/addons.dart';
|
||||
import 'package:nhancepolicy/empReview.dart';
|
||||
import 'package:nhancepolicy/empDetails.dart';
|
||||
@ -32,6 +33,19 @@ Future<void> main() async {
|
||||
runApp(MaterialApp(
|
||||
initialRoute: 'hrLogin',
|
||||
debugShowCheckedModeBanner: false,
|
||||
theme: ThemeData(
|
||||
primaryColor: Color(0xFF00999E), // Primary theme color
|
||||
scaffoldBackgroundColor: Colors.white,
|
||||
colorScheme: ColorScheme.fromSeed(
|
||||
seedColor: Color(0xFF00999E),
|
||||
),
|
||||
textTheme: GoogleFonts.poppinsTextTheme(),
|
||||
elevatedButtonTheme: ElevatedButtonThemeData(
|
||||
style: ElevatedButton.styleFrom(
|
||||
backgroundColor: Color(0xFF00999E), // Button background
|
||||
),
|
||||
),
|
||||
),
|
||||
routes: {
|
||||
'phone': (context) => MyPhone(),
|
||||
'mailVerify': (context) => MyEmailVerify(
|
||||
|
||||
@ -24,7 +24,18 @@ class _ClaimsPolicieState extends State<ClaimsPolicies> {
|
||||
Widget build(BuildContext context) {
|
||||
// TODO: implement build
|
||||
return Container(
|
||||
decoration: BoxDecoration(
|
||||
color: Colors.white,
|
||||
borderRadius: BorderRadius.circular(10), // 👈 set your desired radius
|
||||
),
|
||||
padding: const EdgeInsets.all(16.0),
|
||||
child: Text("Claims policy data"),
|
||||
);
|
||||
}
|
||||
|
||||
// Widget _buildName(context){
|
||||
// return TextField(
|
||||
//
|
||||
// )
|
||||
// }
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user