FancyManager constructor

FancyManager({
  1. GlobalKey<FormState>? formKey,
})

Creates a FancyManager instance with an optional formKey. If no formKey is provided, a new GlobalKey<FormState> will be created.

Implementation

FancyManager({
  GlobalKey<FormState>? formKey,
}) {
  this.formKey = formKey ?? GlobalKey<FormState>();
}