setFormKey method

void setFormKey(
  1. GlobalKey<FormState> formKey
)

Sets a new formKey to the form manager.

Implementation

void setFormKey(GlobalKey<FormState> formKey) {
  this.formKey = formKey;
}