TextFormField(
controller: _emailController,
autovalidateMode: AutovalidateMode.onUserInteraction,
validator: (input) => input!.validateEmail()
? null
: "Please enter valid email!!",
decoration: InputDecoration(
enabledBorder: const OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(12.0)),
borderSide:
BorderSide(color: Colors.transparent, width: 2),
),
focusedBorder: const OutlineInputBorder(
borderRadius: BorderRadius.all(Radius.circular(10.0)),
borderSide: BorderSide(color: Colors.transparent),
),
border: InputBorder.none,
filled: true,
// prefixIcon: const Icon(Icons.mail),
hintStyle: TextStyle(color: Colors.grey800
),
hintText: "Enter your Email Address",
fillColor: Colors.grey200
),
),