formKey property

GlobalKey<FormState> formKey
final

A key that is used to identify the form.

Implementation

static final GlobalKey<FormState> formKey = GlobalKey<FormState>();