text decoration in text field flutter code example
Example 1: get more space between label text and input text flutter
Can be solved by simply providing the contentPadding.
Example 2: text field outline flutter
TextField(
decoration: new InputDecoration(
focusedBorder: OutlineInputBorder(
borderSide: BorderSide(color: Colors.greenAccent, width: 5.0),
),
enabledBorder: OutlineInputBorder(
borderSide: BorderSide(color: Colors.red, width: 5.0),
),
hintText: 'Mobile Number',
),