OnFeedbackCallback typedef

void OnFeedbackCallback (
  1. BuildContext context,
  2. String feedback,
  3. Uint8List feedbackScreenshot
)

Function which gets called when the user submits his feedback. context is a BuildContext with a MaterialApp ancestor. feedback is the user generated feedback text. feedbackScreenshot is a raw png encoded image.

Implementation

typedef OnFeedbackCallback = void Function(
  BuildContext context,
  String feedback,
  Uint8List feedbackScreenshot,
);