useForm method
void
useForm({
- Key? key,
- AutovalidateMode? autovalidateMode,
- Future<
bool> onWillPop()?, - void onChanged()?,
Implementation
void useForm({
Key? key,
AutovalidateMode? autovalidateMode,
Future<bool> Function()? onWillPop,
void Function()? onChanged,
}) =>
_add(
(w) => Form(
key: key,
child: w,
autovalidateMode: autovalidateMode,
onWillPop: onWillPop,
onChanged: onChanged,
),
);