fix ( issue
This commit is contained in:
		
							parent
							
								
									d8bb3384d9
								
							
						
					
					
						commit
						eac83438e1
					
				| @ -129,9 +129,9 @@ class _PasswordWidgetState extends State<PasswordWidget> { | |||||||
|   Widget build(BuildContext context) { |   Widget build(BuildContext context) { | ||||||
|     return TextField( |     return TextField( | ||||||
|       autofocus: true, |       autofocus: true, | ||||||
|       keyboardType: TextInputType.text, |  | ||||||
|       controller: widget.controller, |       controller: widget.controller, | ||||||
|       obscureText: !_passwordVisible, //This will obscure text dynamically |       obscureText: !_passwordVisible, //This will obscure text dynamically | ||||||
|  |       keyboardType: TextInputType.visiblePassword, | ||||||
|       decoration: InputDecoration( |       decoration: InputDecoration( | ||||||
|         labelText: 'Password', |         labelText: 'Password', | ||||||
|         hintText: 'Enter your password', |         hintText: 'Enter your password', | ||||||
|  | |||||||
| @ -145,13 +145,14 @@ class _HomePageState extends State<HomePage> { | |||||||
|                     child: TextField( |                     child: TextField( | ||||||
|                       autocorrect: false, |                       autocorrect: false, | ||||||
|                       enableSuggestions: false, |                       enableSuggestions: false, | ||||||
|  |                       keyboardType: TextInputType.visiblePassword, | ||||||
|  |                       // keyboardType: TextInputType.number, | ||||||
|                       style: TextStyle( |                       style: TextStyle( | ||||||
|                         fontFamily: 'WorkSans', |                         fontFamily: 'WorkSans', | ||||||
|                         fontWeight: FontWeight.bold, |                         fontWeight: FontWeight.bold, | ||||||
|                         fontSize: 30, |                         fontSize: 30, | ||||||
|                         color: Color(0xFF00B6F0), |                         color: Color(0xFF00B6F0), | ||||||
|                       ), |                       ), | ||||||
|                       // keyboardType: TextInputType.number, |  | ||||||
|                       decoration: InputDecoration( |                       decoration: InputDecoration( | ||||||
|                         labelText: 'Remote ID', |                         labelText: 'Remote ID', | ||||||
|                         // hintText: 'Enter your remote ID', |                         // hintText: 'Enter your remote ID', | ||||||
|  | |||||||
| @ -317,7 +317,8 @@ class _RemotePageState extends State<RemotePage> { | |||||||
|                                 maxLines: null, |                                 maxLines: null, | ||||||
|                                 initialValue: |                                 initialValue: | ||||||
|                                     _value, // trick way to make backspace work always |                                     _value, // trick way to make backspace work always | ||||||
|                                 keyboardType: TextInputType.multiline, |                                 keyboardType: TextInputType | ||||||
|  |                                     .visiblePassword, // must use visiblePassword here, if else when input '(', new ')' will be auto appended on android, cause our proboems | ||||||
|                                 onChanged: handleInput, |                                 onChanged: handleInput, | ||||||
|                               ), |                               ), | ||||||
|                       ), |                       ), | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user