DialogBlock constructor

DialogBlock(
  1. String block, {
  2. dynamic buttonParser,
  3. dynamic dividerParser,
  4. dynamic headerParser,
  5. dynamic imageParser,
  6. dynamic sectionParser,
  7. dynamic spacerParser,
  8. dynamic dragDropParser,
  9. dynamic plainTextInputParser,
  10. dynamic checkboxParser,
  11. dynamic radioButtonParser,
  12. dynamic dateTimePickerParser,
  13. dynamic dropdownListParser,
  14. bool disabled = false,
})

Implementation

DialogBlock(this.block,
    {buttonParser,
    dividerParser,
    headerParser,
    imageParser,
    sectionParser,
    spacerParser,
    dragDropParser,
    plainTextInputParser,
    checkboxParser,
    radioButtonParser,
    dateTimePickerParser,
    dropdownListParser,
    this.disabled = false}) {
  this.buttonParser = buttonParser ?? this.buttonParser;
  this.dividerParser = dividerParser ?? this.dividerParser;
  this.headerParser = headerParser ?? this.headerParser;
  this.imageParser = imageParser ?? this.imageParser;
  this.sectionParser = sectionParser ?? this.sectionParser;
  this.spacerParser = spacerParser ?? this.spacerParser;
  this.dragDropParser = dragDropParser ?? this.dragDropParser;
  this.plainTextInputParser =
      plainTextInputParser ?? this.plainTextInputParser;
  this.checkboxParser = checkboxParser ?? this.checkboxParser;
  this.radioButtonParser = radioButtonParser ?? this.radioButtonParser;
  this.dateTimePickerParser =
      dateTimePickerParser ?? this.dateTimePickerParser;
  this.dropdownListParser = dropdownListParser ?? this.dropdownListParser;
}