通过给 TextFormField 加入 validator() 函数可以验证输入是否正确。 ... ElevatedButton( onPressed: () { // Validate returns true if the form is valid, ...
確定! 回上一頁