I want to build a textFormFeild so that it is like the one in the image below, in addition to that I can control its properties such as default textFormFeild and it is responsive.
In the case of focus, the background color is changed. I want to build a costume.
Empty case:
Fill case:
Code:
TextFormField(
keyboardType: TextInputType.emailAddress,
decoration: const InputDecoration(hintText: 'Enter Your Email'),
)
2
Answers
You need to check the validation process as follows.
Try below code hope its help to you, I have try same
Variable Declaration:
Widget:
Result before empty TextField:
Result after fill TextField