如果在TextFormField中验证发现错误消息,我该如何显示?我正在使用Stepper类来处理用户注册,当尝试使用setState实现基本验证时,当前正在验证的文本字段中没有显示错误消息这是我的代码:...class_RegisterStateextendsState{staticTextEditingController_inputController=TextEditingController();staticbool_validate=false;staticString_errorMessage;staticint_currentStep=0;staticList_step
如果在TextFormField中验证发现错误消息,我该如何显示?我正在使用Stepper类来处理用户注册,当尝试使用setState实现基本验证时,当前正在验证的文本字段中没有显示错误消息这是我的代码:...class_RegisterStateextendsState{staticTextEditingController_inputController=TextEditingController();staticbool_validate=false;staticString_errorMessage;staticint_currentStep=0;staticList_step
我有问题,我的listView里面有一个Stepper,但是连scolled都打不开,我试了三天,还是没有结果,请问这是为什么,如何解决?谁能帮我解决这个问题?这是我的代码,newListView(padding:EdgeInsets.fromLTRB(5.0,0.0,5.0,3.0),children:[newListTile(title:newText("Day1",style:newTextStyle(fontSize:20.0,color:Colors.lightGreen,fontWeight:FontWeight.bold,fontFamily:'GoogleSans'),
我有问题,我的listView里面有一个Stepper,但是连scolled都打不开,我试了三天,还是没有结果,请问这是为什么,如何解决?谁能帮我解决这个问题?这是我的代码,newListView(padding:EdgeInsets.fromLTRB(5.0,0.0,5.0,3.0),children:[newListTile(title:newText("Day1",style:newTextStyle(fontSize:20.0,color:Colors.lightGreen,fontWeight:FontWeight.bold,fontFamily:'GoogleSans'),