DialogEmail constructor

const DialogEmail({
  1. Key? key,
  2. required String title,
  3. String? description,
  4. Widget descriptionWidget = const SizedBox.shrink(),
  5. String confirmText = "Submit",
  6. String cancelText = "Cancel",
  7. String? hint,
  8. String? initialValue,
  9. required void onConfirm(
    1. String email
    ),
  10. List<Widget>? actions,
  11. int? maxLines,
  12. int? minLines,
  13. int? maxLength,
})

Implementation

const DialogEmail({
  super.key,
  required this.title,
  this.description,
  this.descriptionWidget = const SizedBox.shrink(),
  this.confirmText = "Submit",
  this.cancelText = "Cancel",
  this.hint,
  this.initialValue,
  required this.onConfirm,
  this.actions,
  this.maxLines,
  this.minLines,
  this.maxLength,
});