useForm method

void useForm({
  1. Key? key,
  2. AutovalidateMode? autovalidateMode,
  3. Future<bool> onWillPop()?,
  4. void onChanged()?,
})

Implementation

void useForm({
  Key? key,
  AutovalidateMode? autovalidateMode,
  Future<bool> Function()? onWillPop,
  void Function()? onChanged,
}) =>
    useParent(
      (w) => w
        ..useForm(
          key: key,
          autovalidateMode: autovalidateMode,
          onWillPop: onWillPop,
          onChanged: onChanged,
        ),
    );