Fixing #42: Authentication Screens UI: Input Text Field
This is the widget used to create the input text field used in the authentication screens. It takes :
- [placeholder] as the placeholder text.
- [inputType] as the type of input whether mail or password,
- [controller] as the controller for the text field
- [onTap] as the function that will be called when the text field is tapped
- [onSubmitted] as the function that will be called when the text field is submitted
- [label] as the label text of the text field
- [isRequired] as a boolean that determines whether the text field is required or not
- [errorText] as the error text that will be displayed if there's an error in the text that user entered.