Flutter - GetX,获取每个输入的值

问题描述

Input code

My Screen

Here is my input

我不知道在按下提交按钮时获取每​​个输入的值。希望任何人都可以在这种情况下帮助我

我的代码

 Obx(
   () => Row(
      mainAxisAlignment: MainAxisAlignment.spaceBetween,children: <Widget>[
        for (var i = 0; i < 5; i++)
          InputNumberWidget(
            borderType: BorderType.enabled,enable: _.questionList[i] != -1 ? false : true,controller: TextEditingController(
              text: _.questionList[i] != -1
                  ? _.questionList[i].toString()
                  : ''),),],

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)