SeoActionFlow constructor

const SeoActionFlow({
  1. Key? key,
  2. required SeoActionFlowDefinition definition,
  3. required SeoActionFormSubmit onSubmit,
  4. String invalidMessage = 'Please correct the highlighted fields.',
  5. String failureMessage = 'The submission could not be completed.',
  6. bool resetOnSuccess = true,
  7. SeoActionFormImagePicker? onPickImage,
  8. String chooseImageLabel = 'Choose image',
  9. String removeImageLabel = 'Remove image',
  10. String noImageLabel = 'No image selected',
})

Implementation

const SeoActionFlow({
  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',
});