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