textfield boxcontraints flutter code example
Example 1: text fieldform color flutter
TextField(
style: TextStyle(color: Colors.red),
decoration: InputDecoration(fillColor: Colors.orange, filled: true),
)
Example 2: text form field flutter
TextFormField(
decoration: InputDecoration(
labelText: 'Enter your username'
),
);