taking input from textfield flutter code example
Example 1: all text filed and input widget in flutter
TextFormField(
decoration: InputDecoration(
labelText: 'Enter your username'
),
);
Example 2: flutter text field form
TextField(
decoration: InputDecoration(
border: InputBorder.none,
hintText: 'Enter a search term'
),
);