ReactiveForm constructor

const ReactiveForm(
  1. {Key? key,
  2. required FormGroup formGroup,
  3. required Widget child,
  4. WillPopCallback? onWillPop}
)

Creates and instance of ReactiveForm.

The formGroup and child arguments are required.

Implementation

const ReactiveForm({
  Key? key,
  required this.formGroup,
  required this.child,
  this.onWillPop,
}) : super(key: key);