SeoActionForm constructor
const
SeoActionForm({
- Key? key,
- required SeoActionFormDefinition definition,
- required SeoActionFormSubmit onSubmit,
- String invalidMessage = 'Please correct the highlighted fields.',
- String failureMessage = 'The submission could not be completed.',
- bool resetOnSuccess = true,
- SeoActionFormImagePicker? onPickImage,
- String chooseImageLabel = 'Choose image',
- String removeImageLabel = 'Remove image',
- String noImageLabel = 'No image selected',
Implementation
const SeoActionForm({
super.key,
required this.definition,
required this.onSubmit,
this.invalidMessage = 'Please correct the highlighted fields.',
this.failureMessage = 'The submission could not be completed.',
this.resetOnSuccess = true,
this.onPickImage,
this.chooseImageLabel = 'Choose image',
this.removeImageLabel = 'Remove image',
this.noImageLabel = 'No image selected',
});