Multiple widgets used the same GlobalKey. static Form flutter code example
Example: multiple widgets used the same globalkey flutter text field
final GlobalKey<FormState> _formKey = GlobalKey<FormState>();
final GlobalKey<FormState> _formKey = GlobalKey<FormState>();