addParagraph method
Created a input text field with multiple lines
Example :
final ModalBuilder modal = ModalBuilder(customId: 'my_modal', label: 'My modal')
.addParagraph(customId: 'my_paragraph', label: 'Second texte');
Implementation
ModalBuilder addParagraph ({ required String customId, required String label, bool? required, int? minLength, int? maxLength, String? placeholder, String? value }) {
_addInput(customId: customId, label: label, style: TextInputStyle.paragraph, required: required, minLength: minLength, maxLength: maxLength, placeholder: placeholder, value: value);
return this;
}