Answers for "outlineinputborder color flutter"

0

outlineinputborder color flutter

TextField(
          decoration: InputDecoration(
                focusedBorder: OutlineInputBorder(
                  borderSide: BorderSide(color: Colors.blue, width: 2.0),
                ),
                enabledBorder: OutlineInputBorder(
                  borderSide: BorderSide(color: Colors.green, width: 2.0),
                ),
               hintText: 'Enter your name',
              ),
            ),
Posted by: Guest on April-22-2022
0

outlineinputborder color flutter

new TextField(
  decoration: new InputDecoration(
    enabledBorder: const OutlineInputBorder(
      // width: 0.0 produces a thin "hairline" border
      borderSide: const BorderSide(color: Colors.grey, width: 0.0),
    ),
    border: const OutlineInputBorder(),
    labelStyle: new TextStyle(color: Colors.green),
    ...
  ),
)
Posted by: Guest on March-31-2022

Browse Popular Code Answers by Language