|  |  |  | @ -4,6 +4,7 @@ import 'package:mohem_flutter_app/classes/colors.dart'; | 
		
	
		
			
				|  |  |  |  | class DynamicTextFieldWidget extends StatelessWidget { | 
		
	
		
			
				|  |  |  |  |   final String labelText; | 
		
	
		
			
				|  |  |  |  |   final String hintText; | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |   // final TextEditingController controller; | 
		
	
		
			
				|  |  |  |  |   final VoidCallback? onTap; | 
		
	
		
			
				|  |  |  |  |   final IconData? suffixIconData; | 
		
	
	
		
			
				
					|  |  |  | @ -13,6 +14,7 @@ class DynamicTextFieldWidget extends StatelessWidget { | 
		
	
		
			
				|  |  |  |  |   final bool isPopup; | 
		
	
		
			
				|  |  |  |  |   final int? lines; | 
		
	
		
			
				|  |  |  |  |   final bool isInputTypeNum; | 
		
	
		
			
				|  |  |  |  |   final bool isInputTypeNumSigned; | 
		
	
		
			
				|  |  |  |  |   final bool isObscureText; | 
		
	
		
			
				|  |  |  |  |   final bool isBackgroundEnable; | 
		
	
		
			
				|  |  |  |  |   final void Function(String)? onChange; | 
		
	
	
		
			
				
					|  |  |  | @ -28,6 +30,7 @@ class DynamicTextFieldWidget extends StatelessWidget { | 
		
	
		
			
				|  |  |  |  |       this.inputAction, | 
		
	
		
			
				|  |  |  |  |       this.onChange, | 
		
	
		
			
				|  |  |  |  |       this.isInputTypeNum = false, | 
		
	
		
			
				|  |  |  |  |       this.isInputTypeNumSigned = true, | 
		
	
		
			
				|  |  |  |  |       this.isBackgroundEnable = false}); | 
		
	
		
			
				|  |  |  |  | 
 | 
		
	
		
			
				|  |  |  |  |   @override | 
		
	
	
		
			
				
					|  |  |  | @ -63,8 +66,13 @@ class DynamicTextFieldWidget extends StatelessWidget { | 
		
	
		
			
				|  |  |  |  |                   ), | 
		
	
		
			
				|  |  |  |  |                   TextField( | 
		
	
		
			
				|  |  |  |  |                     enabled: isEnable, | 
		
	
		
			
				|  |  |  |  |                     scrollPadding: EdgeInsets.zero, readOnly: isReadOnly, | 
		
	
		
			
				|  |  |  |  |                     keyboardType: isInputTypeNum ? const TextInputType.numberWithOptions(signed: true) : TextInputType.text, | 
		
	
		
			
				|  |  |  |  |                     scrollPadding: EdgeInsets.zero, | 
		
	
		
			
				|  |  |  |  |                     readOnly: isReadOnly, | 
		
	
		
			
				|  |  |  |  |                     keyboardType: (isInputTypeNum) | 
		
	
		
			
				|  |  |  |  |                         ? isInputTypeNumSigned | 
		
	
		
			
				|  |  |  |  |                             ? const TextInputType.numberWithOptions(signed: true) | 
		
	
		
			
				|  |  |  |  |                             : TextInputType.number | 
		
	
		
			
				|  |  |  |  |                         : TextInputType.text, | 
		
	
		
			
				|  |  |  |  |                     textInputAction: TextInputAction.done, | 
		
	
		
			
				|  |  |  |  |                     //controller: controller, | 
		
	
		
			
				|  |  |  |  |                     maxLines: lines, | 
		
	
	
		
			
				
					|  |  |  | 
 |