how to take multiple text field text in flutter code example
Example 1: flutter multiline text field
new TextField(
keyboardType: TextInputType.multiline,
maxLines: whatever,
)
Example 2: how to put multiple text field in a body in flutter
getItemAndNavigate(BuildContext context){
Navigator.push(
context,
MaterialPageRoute(
builder: (context) => SecondScreen(
nameHolder : name.text,
classHolder : studentClass.text,
numberHolder : phoneNumber.text
))
);
}