UI_HR_CLAIMS_MODULE_FILTER
This commit is contained in:
parent
4e85d3d73f
commit
dda99d9948
BIN
assets/claimHistory.png
Normal file
BIN
assets/claimHistory.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 331 B |
@ -500,7 +500,7 @@ class _hrDashboardState extends State<hrDashboard>
|
|||||||
|
|
||||||
SizedBox(height: 8),
|
SizedBox(height: 8),
|
||||||
Container(
|
Container(
|
||||||
padding: const EdgeInsets.all(5),
|
// padding: const EdgeInsets.all(5),
|
||||||
// height: MediaQuery.of(context).size.height * 0.08,
|
// height: MediaQuery.of(context).size.height * 0.08,
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color:
|
color:
|
||||||
@ -515,54 +515,62 @@ class _hrDashboardState extends State<hrDashboard>
|
|||||||
),
|
),
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
child: TabBar(
|
child: Row(
|
||||||
controller: _tabController,
|
// mainAxisAlignment: MainAxisAlignment.center,
|
||||||
isScrollable: true,
|
// mainAxisSize: MainAxisSize.min,
|
||||||
labelPadding: const EdgeInsets.symmetric(
|
children: [
|
||||||
horizontal: 0, vertical: 0),
|
TabBar(
|
||||||
// indicator: BoxDecoration(
|
controller: _tabController,
|
||||||
// color: const Color(0xFF00999E), // Selected tab background
|
isScrollable: true,
|
||||||
// borderRadius: BorderRadius.circular(12),
|
labelPadding: EdgeInsets.zero,
|
||||||
// boxShadow: [
|
// labelPadding: const EdgeInsets.symmetric(
|
||||||
// BoxShadow(
|
// horizontal: 0, vertical: 0),
|
||||||
// color: Colors.black.withOpacity(0.2),
|
// indicator: BoxDecoration(
|
||||||
// blurRadius: 4,
|
// color: const Color(0xFF00999E), // Selected tab background
|
||||||
// offset: const Offset(0, 2),
|
// borderRadius: BorderRadius.circular(12),
|
||||||
// )
|
// boxShadow: [
|
||||||
// ],
|
// BoxShadow(
|
||||||
// ),
|
// color: Colors.black.withOpacity(0.2),
|
||||||
dividerColor: Colors.transparent,
|
// blurRadius: 4,
|
||||||
indicatorColor: Colors.transparent,
|
// offset: const Offset(0, 2),
|
||||||
labelColor: Colors.white,
|
// )
|
||||||
unselectedLabelColor: const Color(0xFF828282),
|
// ],
|
||||||
// tabs: visibleTabs,
|
// ),
|
||||||
tabs: List.generate(tabData.length, (index) {
|
dividerColor: Colors.transparent,
|
||||||
final data = tabData[index];
|
indicatorColor: Colors.transparent,
|
||||||
return CustomTab(
|
indicatorPadding: EdgeInsets.zero,
|
||||||
icon: data['icon'],
|
labelColor: Colors.white,
|
||||||
label: data['label'],
|
unselectedLabelColor: const Color(0xFF828282),
|
||||||
isSelected: selectedIndex == index,
|
// tabs: visibleTabs,
|
||||||
);
|
tabs: List.generate(tabData.length, (index) {
|
||||||
}),
|
final data = tabData[index];
|
||||||
|
return CustomTab(
|
||||||
|
icon: data['icon'],
|
||||||
|
label: data['label'],
|
||||||
|
isSelected: selectedIndex == index,
|
||||||
|
);
|
||||||
|
}),
|
||||||
|
|
||||||
// tabs: [
|
// tabs: [
|
||||||
// CustomTab(
|
// CustomTab(
|
||||||
// icon: Icons.grid_view,
|
// icon: Icons.grid_view,
|
||||||
// label: 'Pre Enrollment',
|
// label: 'Pre Enrollment',
|
||||||
// isSelected: selectedIndex == 0),
|
// isSelected: selectedIndex == 0),
|
||||||
// CustomTab(
|
// CustomTab(
|
||||||
// icon: Icons.verified_user,
|
// icon: Icons.verified_user,
|
||||||
// label: 'Active Policies',
|
// label: 'Active Policies',
|
||||||
// isSelected: selectedIndex == 1),
|
// isSelected: selectedIndex == 1),
|
||||||
// CustomTab(
|
// CustomTab(
|
||||||
// icon: Icons.desktop_windows,
|
// icon: Icons.desktop_windows,
|
||||||
// label: 'CD',
|
// label: 'CD',
|
||||||
// isSelected: selectedIndex == 2),
|
// isSelected: selectedIndex == 2),
|
||||||
// CustomTab(
|
// CustomTab(
|
||||||
// icon: Icons.receipt_long,
|
// icon: Icons.receipt_long,
|
||||||
// label: 'Claims',
|
// label: 'Claims',
|
||||||
// isSelected: selectedIndex == 3),
|
// isSelected: selectedIndex == 3),
|
||||||
// ],
|
// ],
|
||||||
|
),
|
||||||
|
],
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
SizedBox(height: 16),
|
SizedBox(height: 16),
|
||||||
@ -695,7 +703,8 @@ class CustomTab extends StatelessWidget {
|
|||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return Tab(
|
return Tab(
|
||||||
child: Container(
|
child: Container(
|
||||||
margin: const EdgeInsets.symmetric(horizontal: 6),
|
// margin: const EdgeInsets.symmetric(horizontal: 6),
|
||||||
|
margin: const EdgeInsets.only(right: 6),
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 10),
|
padding: const EdgeInsets.symmetric(horizontal: 10, vertical: 10),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: isSelected ? const Color(0xFF00999E) : Colors.white,
|
color: isSelected ? const Color(0xFF00999E) : Colors.white,
|
||||||
@ -716,8 +725,8 @@ class CustomTab extends StatelessWidget {
|
|||||||
],
|
],
|
||||||
),
|
),
|
||||||
child: Row(
|
child: Row(
|
||||||
mainAxisAlignment: MainAxisAlignment.start,
|
// mainAxisAlignment: MainAxisAlignment.start,
|
||||||
// mainAxisSize: MainAxisSize.min,
|
mainAxisSize: MainAxisSize.min,
|
||||||
children: [
|
children: [
|
||||||
Icon(icon,
|
Icon(icon,
|
||||||
size: 18,
|
size: 18,
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
@ -5,6 +5,7 @@
|
|||||||
import FlutterMacOS
|
import FlutterMacOS
|
||||||
import Foundation
|
import Foundation
|
||||||
|
|
||||||
|
import file_picker
|
||||||
import firebase_auth
|
import firebase_auth
|
||||||
import firebase_core
|
import firebase_core
|
||||||
import google_sign_in_ios
|
import google_sign_in_ios
|
||||||
@ -14,6 +15,7 @@ import smart_auth
|
|||||||
import url_launcher_macos
|
import url_launcher_macos
|
||||||
|
|
||||||
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
func RegisterGeneratedPlugins(registry: FlutterPluginRegistry) {
|
||||||
|
FilePickerPlugin.register(with: registry.registrar(forPlugin: "FilePickerPlugin"))
|
||||||
FLTFirebaseAuthPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseAuthPlugin"))
|
FLTFirebaseAuthPlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseAuthPlugin"))
|
||||||
FLTFirebaseCorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCorePlugin"))
|
FLTFirebaseCorePlugin.register(with: registry.registrar(forPlugin: "FLTFirebaseCorePlugin"))
|
||||||
FLTGoogleSignInPlugin.register(with: registry.registrar(forPlugin: "FLTGoogleSignInPlugin"))
|
FLTGoogleSignInPlugin.register(with: registry.registrar(forPlugin: "FLTGoogleSignInPlugin"))
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user