The Form widget takes the following widgets:
decoration: We have used InputDecoration to give icon and text hints. Also, it gives us an animation of the hint moving to the top bar at the time of input.
autocorrect: This is used to enable spelling autocorrections.
onChanged: This is a function that gives us the current value of text input by the user. With onChanged, we can do many things, like showing results based on the current search of the user.
validator: When the form is submitted, this function is called to enable the error description below the TextFormField.