Flutter使用拖动和按钮单击来展开TextField

时间:2019-09-09 06:41:25

标签: flutter dart flutter-layout

enter image description here

如何通过拖动并单击按钮来增加/减少maxLinesTextField的数量?

1 个答案:

答案 0 :(得分:6)

屏幕截图:

enter image description here


完整代码:

"ShutdownTimer.Server": {
  "commandName": "Project",
  "launchBrowser": true,
  "applicationUrl": "https://localhost:5001;http://localhost:5000",
  "environmentVariables": {
    "ASPNETCORE_ENVIRONMENT": "Development"
  }
},
"ShutdownTimer.Server (localIP)": {
    "commandName": "Project",
    "launchBrowser": true,
    "applicationUrl": "https://192.168.0.115:5001;http://192.168.0.115:5000",
    "environmentVariables": {
        "ASPNETCORE_ENVIRONMENT": "Development"
    }
}