The second way is to use GlobalKey instance when creating the Form widget, then use GlobalKey.currentState to get the FormState. Listing 6-23 shows the code ...
確定! 回上一頁