AppForm constructor
const
AppForm({
- Key? key,
- GlobalKey<
FormState> ? formKey, - required List<
Widget> children, - EdgeInsetsGeometry? padding,
- double? spacing,
- ScrollPhysics? physics,
- VoidCallback? onSubmit,
- String? submitLabel,
- bool showSubmitButton = true,
- ButtonType submitButtonType = ButtonType.primary,
- bool autovalidateMode = false,
Implementation
const AppForm({
Key? key,
this.formKey,
required this.children,
this.padding,
this.spacing,
this.physics,
this.onSubmit,
this.submitLabel,
this.showSubmitButton = true,
this.submitButtonType = ButtonType.primary,
this.autovalidateMode = false,
}) : super(key: key);