flutter text input decoration 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 input text in container
TextField(
decoration: InputDecoration(
border: InputBorder.none,
hintText: 'Enter a search term'
),
);