inputdecoration flutter code example
Example 1: text fieldform color flutter
TextField(
style: TextStyle(color: Colors.red),
decoration: InputDecoration(fillColor: Colors.orange, filled: true),
)
Example 2: get more space between label text and input text flutter
Can be solved by simply providing the contentPadding.
Example 3: flutter pretext on textfield
TextField(controller: TextEditingController()..text = 'Your initial value')