OnFeedbackCallback typedef

OnFeedbackCallback = void Function(String feedback, Uint8List? feedbackScreenshot)

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

Implementation

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