FormPrompt constructor

const FormPrompt({
  1. required String title,
  2. required List<FormFieldConfig> fields,
  3. PromptTheme theme = PromptTheme.dark,
  4. String? crossValidator(
    1. List<String> values
    )?,
})

Implementation

const FormPrompt({
  required this.title,
  required this.fields,
  this.theme = PromptTheme.dark,
  this.crossValidator,
});