Answers for "flutter TextInput color"

C#
5

change border color of TextField in flutter

TextFormField(
        decoration: InputDecoration(
          labelText: "Resevior Name",
          fillColor: Colors.white,
          focusedBorder:OutlineInputBorder(
            borderSide: const BorderSide(color: Colors.white, width: 2.0),
            borderRadius: BorderRadius.circular(25.0),
          ),
        ),
      )
Posted by: Guest on November-03-2020
1

text field placeholder color flutter theme

ThemeData( 
  // (...)
  hintStyle: TextStyle(
     color: Colors.grey, // <-- Change this
     fontSize: null,
     fontWeight: FontWeight.w400,
     fontStyle: FontStyle.normal,
     ),
);
Posted by: Guest on September-09-2020

Code answers related to "flutter TextInput color"

C# Answers by Framework

Browse Popular Code Answers by Language