How to print a variable which gets the value from another widget

前端 未结 0 741
执笔经年
执笔经年 2020-12-31 03:51

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

相关标签:
回答
  • 消灭零回复
提交回复
热议问题