Widget.form constructor Null safety

const Widget.form(
  1. {Key? key,
  2. required Widget child,
  3. Callback? onChanged,
  4. AutovalidateMode? autovalidateMode}
)

Implementation

const factory Widget.form({
  Key? key,
  required Widget child,
  Callback? onChanged,
  AutovalidateMode? autovalidateMode,
}) = Form;