FormLayoutPage constructor
const
FormLayoutPage({
- Key? key,
- required String title,
- String? description,
- required Widget child,
- required VoidCallback onSubmit,
- required GlobalKey<
ShadFormState> formKey, - String submitButtonText = 'ถัดไป',
- VoidCallback? onFormChanged,
- Widget? header,
- bool isLoading = false,
- bool stickyButton = true,
- double maxWidth = 600,
Implementation
const FormLayoutPage({
super.key,
required this.title,
this.description,
required this.child,
required this.onSubmit,
required this.formKey,
this.submitButtonText = 'ถัดไป',
this.onFormChanged,
this.header,
this.footer,
this.isLoading = false,
this.stickyButton = true,
this.maxWidth = 600,
});