show static method
Implementation
static Future<NiceFeedbackData?> show(
BuildContext context, {
String title = 'Send Feedback',
String? description,
bool showRating = true,
bool showCategory = false,
List<String>? categories,
}) {
return showDialog<NiceFeedbackData>(
context: context,
builder: (context) => NiceFeedbackDialog(
title: title,
description: description,
showRating: showRating,
showCategory: showCategory,
categories: categories,
onSubmit: (feedback) => Navigator.of(context).pop(feedback),
onCancel: () => Navigator.of(context).pop(),
),
);
}