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