문서 보기역링크PDF로 내보내기맨 위로 이 문서는 읽기 전용입니다. 원본을 볼 수는 있지만 바꿀 수는 없습니다. 문제가 있다고 생각하면 관리자에게 문의하세요. # form {{tag>flutter form validation validate}} ### form validation <code dart> _buildSaveButton() { return RoundedLoadingButton( child: Text('Save', style: TextStyle(color: Colors.white)), controller: _btnController, onPressed: () { // save item if (_formKey.currentState!.validate()) { // If the form is valid, display a snackbar. In the real world, // you'd often call a server or save the information in a database. ScaffoldMessenger.of(context) .showSnackBar(SnackBar(content: Text('Processing Data'))); } }, ); } </code> open/form.txt 마지막으로 수정됨: 2021/05/24 00:07저자 127.0.0.1