|  |  |  | import 'package:flutter/material.dart'; | 
					
						
							|  |  |  | import 'package:mohem_flutter_app/app_state/app_state.dart'; | 
					
						
							|  |  |  | import 'package:mohem_flutter_app/classes/utils.dart'; | 
					
						
							|  |  |  | import 'package:mohem_flutter_app/extensions/int_extensions.dart'; | 
					
						
							|  |  |  | import 'package:mohem_flutter_app/extensions/string_extensions.dart'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | class BusinessCardDialog extends StatelessWidget { | 
					
						
							|  |  |  |   @override | 
					
						
							|  |  |  |   Widget build(BuildContext context) { | 
					
						
							|  |  |  |     return RotatedBox( | 
					
						
							|  |  |  |       quarterTurns: 1, | 
					
						
							|  |  |  |       child: AspectRatio( | 
					
						
							|  |  |  |         aspectRatio: 3.5 / 2, | 
					
						
							|  |  |  |         child: Container( | 
					
						
							|  |  |  |           //  width: MediaQuery.of(context).size.height / 2,
 | 
					
						
							|  |  |  |           color: Colors.white, | 
					
						
							|  |  |  |           margin: EdgeInsets.all(21), | 
					
						
							|  |  |  |           child: Column( | 
					
						
							|  |  |  |             mainAxisSize: MainAxisSize.min, | 
					
						
							|  |  |  |             crossAxisAlignment: CrossAxisAlignment.start, | 
					
						
							|  |  |  |             mainAxisAlignment: MainAxisAlignment.start, | 
					
						
							|  |  |  |             children: [ | 
					
						
							|  |  |  |               Row( | 
					
						
							|  |  |  |                 crossAxisAlignment: CrossAxisAlignment.start, | 
					
						
							|  |  |  |                 mainAxisAlignment: MainAxisAlignment.start, | 
					
						
							|  |  |  |                 children: [ | 
					
						
							|  |  |  |                   Expanded( | 
					
						
							|  |  |  |                     child: Column( | 
					
						
							|  |  |  |                       crossAxisAlignment: CrossAxisAlignment.start, | 
					
						
							|  |  |  |                       mainAxisAlignment: MainAxisAlignment.start, | 
					
						
							|  |  |  |                       children: [ | 
					
						
							|  |  |  |                         Image.asset( | 
					
						
							|  |  |  |                           "assets/images/logos/bn_cloud_soloution.jpg", | 
					
						
							|  |  |  |                           width: 80, | 
					
						
							|  |  |  |                           height: 80, | 
					
						
							|  |  |  |                         ), | 
					
						
							|  |  |  |                         12.height, | 
					
						
							|  |  |  |                         (AppState().memberInformationList!.eMPLOYEENAME ?? "").toText20(isBold: true), | 
					
						
							|  |  |  |                       ], | 
					
						
							|  |  |  |                     ), | 
					
						
							|  |  |  |                   ), | 
					
						
							|  |  |  |                   Image.memory( | 
					
						
							|  |  |  |                     Utils.getPostBytes(AppState().memberInformationList!.businessCardQR ?? ""), | 
					
						
							|  |  |  |                     width: 100, | 
					
						
							|  |  |  |                     height: 100, | 
					
						
							|  |  |  |                   ), | 
					
						
							|  |  |  |                 ], | 
					
						
							|  |  |  |               ), | 
					
						
							|  |  |  |               Column( | 
					
						
							|  |  |  |                 crossAxisAlignment: CrossAxisAlignment.start, | 
					
						
							|  |  |  |                 mainAxisAlignment: MainAxisAlignment.start, | 
					
						
							|  |  |  |                 children: [ | 
					
						
							|  |  |  |                   1.height, | 
					
						
							|  |  |  |                   (AppState().memberInformationList!.getPositionName() ?? "").toText13(), | 
					
						
							|  |  |  |                   12.height, | 
					
						
							|  |  |  |                   (AppState().memberInformationList!.eMPLOYEENUMBER ?? "").toText13(), | 
					
						
							|  |  |  |                   1.height, | 
					
						
							|  |  |  |                   (AppState().memberInformationList!.eMPLOYEEEMAILADDRESS ?? "").toText13(), | 
					
						
							|  |  |  |                   1.height, | 
					
						
							|  |  |  |                   (AppState().memberInformationList!.jOBNAME ?? "").toText13(), | 
					
						
							|  |  |  |                 ], | 
					
						
							|  |  |  |               ), | 
					
						
							|  |  |  |             ], | 
					
						
							|  |  |  |           ), | 
					
						
							|  |  |  |         ), | 
					
						
							|  |  |  |       ), | 
					
						
							|  |  |  |     ); | 
					
						
							|  |  |  |   } | 
					
						
							|  |  |  | } |