FeedbackWrapperConfig class
Configuration class for the FeedbackWrapper widget.
This class holds all the necessary configurations for customizing the feedback flow, including services, UI builders, and callbacks.
Constructors
-
FeedbackWrapperConfig.new({required WriteFeedbackPageBuilder writeFeedbackPageBuilder, required Future<
void> onFinalSuccessCallback(BuildContext context)?, required FeedbackService feedbackService, required ConfigsService remoteConfigRepo, required DialogBuilder doYouLoveUsDialogBuilder}) - Creates a new FeedbackWrapperConfig with custom configurations.
- FeedbackWrapperConfig.defaultConfig({required FeedbackService feedbackService})
- Creates a FeedbackWrapperConfig with default configurations.
Properties
- doYouLoveUsDialogBuilder → DialogBuilder
-
Builder function for creating the "Do you love us?" dialog
final
- feedbackService → FeedbackService
-
Service responsible for sending feedback to the backend
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
onFinalSuccessCallback
→ Future<
void> Function(BuildContext context)? -
Callback function executed when feedback is successfully sent
final
- remoteConfigRepo → ConfigsService
-
Service for managing remote configurations
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- writeFeedbackPageBuilder → WriteFeedbackPageBuilder
-
Builder function for creating the feedback writing page
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited