|  |  | @ -1,68 +1,82 @@ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import 'package:easy_localization/easy_localization.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:flutter/material.dart'; |  |  |  | import 'package:flutter/material.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:mohem_flutter_app/app_state/app_state.dart'; |  |  |  | import 'package:mohem_flutter_app/app_state/app_state.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import 'package:mohem_flutter_app/classes/colors.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:mohem_flutter_app/classes/utils.dart'; |  |  |  | import 'package:mohem_flutter_app/classes/utils.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:mohem_flutter_app/extensions/int_extensions.dart'; |  |  |  | import 'package:mohem_flutter_app/extensions/int_extensions.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | import 'package:mohem_flutter_app/extensions/string_extensions.dart'; |  |  |  | import 'package:mohem_flutter_app/extensions/string_extensions.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import 'package:mohem_flutter_app/extensions/widget_extensions.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import 'package:mohem_flutter_app/generated/locale_keys.g.dart'; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | class BusinessCardDialog extends StatelessWidget { |  |  |  | class BusinessCardDialog extends StatelessWidget { | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |   const BusinessCardDialog({Key? key}) : super(key: key); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |   @override |  |  |  |   @override | 
			
		
	
		
		
			
				
					
					|  |  |  |   Widget build(BuildContext context) { |  |  |  |   Widget build(BuildContext context) { | 
			
		
	
		
		
			
				
					
					|  |  |  |     return RotatedBox( |  |  |  |     return RotatedBox( | 
			
		
	
		
		
			
				
					
					|  |  |  |       quarterTurns: 1, |  |  |  |       quarterTurns: 1, | 
			
		
	
		
		
			
				
					
					|  |  |  |       child: AspectRatio( |  |  |  |       child: AspectRatio( | 
			
		
	
		
		
			
				
					
					|  |  |  |         aspectRatio: 3.5 / 2, |  |  |  |         aspectRatio: 3.5 / 2, | 
			
		
	
		
		
			
				
					
					|  |  |  |         child: Container( |  |  |  |         child: Column( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           //  width: MediaQuery.of(context).size.height / 2, |  |  |  |           mainAxisSize: MainAxisSize.min, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           color: Colors.white, |  |  |  |           crossAxisAlignment: CrossAxisAlignment.start, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           margin: EdgeInsets.all(21), |  |  |  |           mainAxisAlignment: MainAxisAlignment.start, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           child: Column( |  |  |  | 
 | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             mainAxisSize: MainAxisSize.min, |  |  |  |           children: [ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             crossAxisAlignment: CrossAxisAlignment.start, |  |  |  |             Row( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             mainAxisAlignment: MainAxisAlignment.start, |  |  |  |               crossAxisAlignment: CrossAxisAlignment.start, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             children: [ |  |  |  |               mainAxisAlignment: MainAxisAlignment.start, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               Row( |  |  |  |               children: [ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 crossAxisAlignment: CrossAxisAlignment.start, |  |  |  |                 Expanded( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 mainAxisAlignment: MainAxisAlignment.start, |  |  |  |                   child: Column( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 children: [ |  |  |  |                     crossAxisAlignment: CrossAxisAlignment.start, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   Expanded( |  |  |  |                     mainAxisAlignment: MainAxisAlignment.start, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                     child: Column( |  |  |  |                     children: [ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       crossAxisAlignment: CrossAxisAlignment.start, |  |  |  |                       Image.asset( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       mainAxisAlignment: MainAxisAlignment.start, |  |  |  |                         "assets/images/logos/bn_cloud_soloution.jpg", | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                       children: [ |  |  |  |                         width: 94, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                         Image.asset( |  |  |  |                         height: 91.15, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           "assets/images/logos/bn_cloud_soloution.jpg", |  |  |  |                       ).paddingOnly(top: 4), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           width: 80, |  |  |  |                     ], | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                           height: 80, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                         ), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                         12.height, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                         (AppState().memberInformationList!.eMPLOYEENAME ?? "").toText20(isBold: true), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                       ], |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     ), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   ), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                   Image.memory( |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     Utils.getPostBytes(AppState().memberInformationList!.businessCardQR ?? ""), |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     width: 100, |  |  |  |  | 
			
		
	
		
		
			
				
					
					|  |  |  |                     height: 100, |  |  |  |  | 
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                   ), |  |  |  |                   ), | 
			
		
	
		
		
			
				
					
					|  |  |  |                 ], |  |  |  |                 ), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               ), |  |  |  |                 Image.memory( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               Column( |  |  |  |                   Utils.getPostBytes(AppState().memberInformationList!.businessCardQR ?? ""), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 crossAxisAlignment: CrossAxisAlignment.start, |  |  |  |                   width: 129, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 mainAxisAlignment: MainAxisAlignment.start, |  |  |  |                   height: 129, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 children: [ |  |  |  |                 ), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   1.height, |  |  |  |               ], | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   (AppState().memberInformationList!.getPositionName() ?? "").toText13(), |  |  |  |             ).paddingOnly(top: 26, left: 8.5), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   12.height, |  |  |  |             Column( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   (AppState().memberInformationList!.eMPLOYEENUMBER ?? "").toText13(), |  |  |  |               crossAxisAlignment: CrossAxisAlignment.start, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   1.height, |  |  |  |               mainAxisAlignment: MainAxisAlignment.start, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   (AppState().memberInformationList!.eMPLOYEEEMAILADDRESS ?? "").toText13(), |  |  |  |               children: [ | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   1.height, |  |  |  |                 (AppState().memberInformationList!.eMPLOYEENAME ?? "").toText23(isBold: true).paddingOnly(top: 15), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                   (AppState().memberInformationList!.jOBNAME ?? "").toText13(), |  |  |  |                 (AppState().memberInformationList!.getPositionName() ?? "").toText17( | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 ], |  |  |  |                   color: MyColors.grey57Color, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |               ), |  |  |  |                 ), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |             ], |  |  |  |                 30.height, | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |           ), |  |  |  |                 // (AppState().memberInformationList!.eMPLOYEENUMBER ?? "").toText13(), | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |         ), |  |  |  |                 Row( | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   children: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     const Icon(Icons.email, size: 17.5, color: MyColors.grey3AColor).paddingOnly(right: 11.5), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     ("${LocaleKeys.email.tr()}: ").toText18(color: MyColors.grey57Color), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     (AppState().memberInformationList!.eMPLOYEEEMAILADDRESS ?? "").toText18(), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   ], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 Row( | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   children: [ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     const Icon(Icons.call, size: 17.5, color: MyColors.grey3AColor).paddingOnly(right: 11.5), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     ("${LocaleKeys.mobile.tr()}: ").toText18(color: MyColors.grey57Color), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                     (AppState().memberInformationList!.mobileNumberWithZipCode ?? "").toText18(), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                   ], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 //  1.height, | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 // (AppState().memberInformationList!.jOBNAME ?? "").toText13(), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |               ], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             ), | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |           ], | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |         ).paddingOnly(right: 13, left: 32, bottom: 28), | 
			
		
	
		
		
			
				
					
					|  |  |  |       ), |  |  |  |       ), | 
			
		
	
		
		
			
				
					
					|  |  |  |     ); |  |  |  |     ); | 
			
		
	
		
		
			
				
					
					|  |  |  |   } |  |  |  |   } | 
			
		
	
	
		
		
			
				
					|  |  | 
 |