DialogBuilder typedef
DialogBuilder =
Widget Function(BuildContext context, VoidCallback onLike, VoidCallback onDislike, VoidCallback onRemindLater)
Function signature for building the rating dialog UI.
context
- The build context
onLike
- Callback when user indicates they like the app
onDislike
- Callback when user indicates they want to provide feedback
onRemindLater
- Callback when user wants to be reminded later
The dialog should provide these three interaction options to properly integrate with the feedback flow.
Implementation
typedef DialogBuilder =
Widget Function(
BuildContext context,
VoidCallback onLike,
VoidCallback onDislike,
VoidCallback onRemindLater,
);