A non-null String must be provided to a Text widget

前端 未结 9 1658
醉酒成梦
醉酒成梦 2021-02-13 20:15

I\'m trying to add the option for the quantity to be adjusted but I get an error saying \"A non-null String must be provided to a Text widget\" How do I provide this, to this co

9条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-13 20:45

    I have faced that same problem.... I have resolved it by using a "new" keyword before Text...

    child: new Text(mydata[1]["2"][k]),

提交回复
热议问题