flutter add text to textField code example
Example 1: flutter text field
TextField(
decoration: InputDecoration(
border: InputBorder.none,
hintText: 'Enter a search term'
),
);
Example 2: text form field flutter
TextFormField(
decoration: InputDecoration(
labelText: 'Enter your username'
),
);