Flutter Textfield Border Color Not Changing, Flutter provides two text fields: TextField and TextFormField. It can be used to develop cross platform applications from a single codebase for the web, [4] Fuchsia, Android, iOS, Linux, macOS, and Windows. Using a container over a Textfield is an overkill. This would actually be a bit more efficient since then you'd only call a rebuild of each textfield on focus change events instead of the whole form/page. Flutter is an open source framework for building beautiful, natively compiled, multi-platform applications from a single codebase. When I type on that text field I want to change the border color. They are used to build forms, send messages, create search experiences, and more. Solve the common BorderSide issue effortlessly! Feb 13, 2022 ยท In your code snippet focusedBorder and enabledBorder has same color so you are seeing the same color when the TextField is focused. Then use that class as your way to make text fields. Please refer the below code sample which shows the desired behavior. mazk, xlz, gn3zt9, tg, dr3fz, 2pjss, qiok, 4nc, aimy2t, nmrz,