Check out example codes for "change border color of TextField in flutter". It will help you in understanding the concepts better.

Code Example 1

decoration: new InputDecoration(
                border: new OutlineInputBorder(
                    borderSide: new BorderSide(color: Colors.teal)),
                hintText: 'Tell us about yourself',
                helperText: 'Keep it short, this is just a demo.',
                labelText: 'Life story',
                prefixIcon: const Icon(
                prefixText: ' ',
                suffixText: 'USD',
                suffixStyle: const TextStyle(color:,

Code Example 2

        decoration: InputDecoration(
          labelText: "Resevior Name",
          fillColor: Colors.white,
            borderSide: const BorderSide(color: Colors.white, width: 2.0),
            borderRadius: BorderRadius.circular(25.0),

Learn ReactJs, React Native from