feedbackkit_flutter library

Flutter SDK for FeedbackKit - A feedback collection platform for your apps.

Classes

CategoryBadge
A badge displaying a feedback category.
CategoryColors
Colors for each feedback category.
Comment
A comment on a feedback item.
CreateCommentRequest
Request object for creating a comment.
CreateFeedbackRequest
Request object for creating feedback.
FeedbackCard
A card displaying a feedback item.
FeedbackDetailView
A detailed view of a feedback item with comments.
FeedbackItem
A feedback item submitted by a user.
FeedbackKit
Main FeedbackKit client that provides access to all API modules.
FeedbackKitConfig
Configuration for the FeedbackKit SDK.
FeedbackKitContext
Context object containing FeedbackKit services.
FeedbackKitProvider
Provides FeedbackKit services to the widget tree.
FeedbackKitTheme
Theme configuration for FeedbackKit widgets.
FeedbackList
A scrollable list of feedback items.
FeedbackListNotifier
Notifier for managing feedback list state.
ListFeedbackOptions
Options for listing feedback.
RegisterUserRequest
Request object for registering a user.
SDKUser
A user registered with the SDK.
StatusBadge
A badge displaying a feedback status.
StatusColors
Colors for each feedback status.
SubmitFeedbackView
A form for submitting new feedback.
TrackedEvent
An event tracked by the SDK for analytics.
VoteButton
A button for voting on feedback items with optimistic updates.
VoteNotifier
Notifier for managing vote operations with optimistic updates.
VoteResponse
Response from a vote or unvote operation.

Enums

FeedbackCategory
Category of a feedback item.
FeedbackListState
State for feedback list.
FeedbackStatus
Status of a feedback item.
VoteButtonSize
Size variants for the vote button.

Functions

createErrorFromResponse(int statusCode, String message) FeedbackKitError
Creates the appropriate error from an HTTP status code and message.

Exceptions / Errors

AuthenticationError
Error thrown when authentication fails (401).
ConflictError
Error thrown when there's a conflict (409).
FeedbackKitError
Base exception class for all FeedbackKit errors.
ForbiddenError
Error thrown when access is forbidden (403).
NetworkError
Error thrown for network issues.
NotFoundError
Error thrown when a resource is not found (404).
PaymentRequiredError
Error thrown when payment is required (402).
ServerError
Error thrown for unexpected server errors (5xx).
ValidationError
Error thrown when validation fails (400).