WriteFeedbackPageBuilder typedef

WriteFeedbackPageBuilder = Widget Function(BuildContext context, bool isLoading, void onSend(Map<String, dynamic> feedback))

Function signature for building the feedback collection page UI.

context - The build context isLoading - Whether feedback is currently being sent onSend - Callback to send feedback data to the backend

The builder should create a form or interface that allows users to provide feedback and call onSend with the collected data.

Implementation

typedef WriteFeedbackPageBuilder =
    Widget Function(
      BuildContext context,
      bool isLoading,
      void Function(Map<String, dynamic> feedback) onSend,
    );