Answers for "textfield material border 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
0

@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox border color change

Source: StakeOverFlow  ** Thanks **

<style name="LoginTextInputLayoutStyle" parent="Widget.MaterialComponents.TextInputLayout.OutlinedBox.Dense">
    <item name="boxStrokeColor">#fff</item>
    <item name="boxStrokeWidth">2dp</item>
</style>
<color name="mtrl_textinput_default_box_stroke_color" tools:override="true">#fff</color>
// Add this code in colors.xml
-------------------------------------------
<com.google.android.material.textfield.TextInputLayout
	style="@style/LoginTextInputLayoutStyle" />
//Add this code in activity.xml
Posted by: Guest on October-22-2021

Code answers related to "textfield material border color"

C# Answers by Framework

Browse Popular Code Answers by Language