DialogEmail constructor
const
DialogEmail({
- Key? key,
- required String title,
- String? description,
- Widget descriptionWidget = const SizedBox.shrink(),
- String confirmText = "Submit",
- String cancelText = "Cancel",
- String? hint,
- String? initialValue,
- required void onConfirm(
- String email
- List<
Widget> ? actions, - int? maxLines,
- int? minLines,
- 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,
});