How can I print the String name?
String name; detailPage({Key key, this.name}) : super(key: key);
I tried this code, but name is red underlin