LimeniaReportForm constructor
const
LimeniaReportForm({
- Key? key,
- required Future<
ReportResult> onSubmit(- ReportDraft draft
- List<
ReportCategoryOption> ? categories, - GoodFaithConfirmation goodFaith = GoodFaithConfirmation.hidden,
- ReportEmergencyHint? emergencyHint = const ReportEmergencyHint(),
- String? title,
- LimeniaUiStrings? strings,
- ValueChanged<
ReportResult> ? onResult, - VoidCallback? onClose,
Creates the form.
Implementation
const LimeniaReportForm({
super.key,
required this.onSubmit,
this.categories,
this.goodFaith = GoodFaithConfirmation.hidden,
this.emergencyHint = const ReportEmergencyHint(),
this.title,
this.strings,
this.onResult,
this.onClose,
});