FeedbackBuilder typedef
FeedbackBuilder =
Widget Function(BuildContext, OnSubmit , ScrollController?)
A function that returns a Widget that prompts the user for feedback and calls OnSubmit when the user wants to submit their feedback.
A non-null controller is provided if the sheet is set to draggable in the
feedback theme.
If the sheet is draggable, the non null controller should be passed into a
scrollable widget to make the feedback sheet expand when the widget is
scrolled. Typically, this will be a ListView
or SingleChildScrollView
wrapping the feedback sheet's content.
See: FeedbackThemeData.sheetIsDraggable and DraggableScrollableSheet.
Implementation
typedef FeedbackBuilder = Widget Function(
BuildContext,
OnSubmit,
ScrollController?,
);