cupthread_feedback library
Classes
- AppVersion
- Release version milestone configured for the application.
- Avatar
- Avatar widget displaying image or initials.
- BadgeChip
- Chip badge for column statuses and version tags.
- BoardColumn
- Kanban board column representation configured for the public roadmap.
- ChangelogEntry
- Published release note entry in the application changelog.
- ChangelogLinkedRequest
- Reference to a completed feature request linked to a changelog release note.
- ChangelogOverlay
- Modal dialog announcing latest published changelog release notes.
- ChangelogOverlayConfig
- Configuration options for the What's New changelog announcement modal.
- ChangelogSubscriptionResult
- Confirmation result returned when subscribing an email to changelog notifications.
- ChangelogUnsubscribeResult
- Confirmation result returned when unsubscribing from changelog updates.
- CommentDraft
- Draft for posting a new comment.
- CommentsView
- Discussion view displaying comments on a feature request with inline composer.
- CupThreadColors
- Resolved color palette for CupThread Flutter UI widgets.
- CupThreadStrings
- Localized strings configuration for CupThread SDK widgets.
- CupThreadTheme
- Root widget that wraps UI with CupThread appearance and localization settings.
- CupThreadThemeScope
- InheritedWidget providing CupThread theme colors, client, user token, and localized strings.
- FeatureRequestComment
- Discussion comment on a feature request.
- FeatureRequestComposeSheet
- Form bottom sheet for composing and submitting a new feature request proposal.
- FeatureRequestDetailSheet
- Bottom sheet presenting complete feature request details and discussion.
- FeatureRequestDraft
- Draft proposal for creating a new feature request.
- FeatureRequestItem
- Single feature request proposal item on the roadmap or requests board.
- FeatureRequestsScreen
- Screen displaying searchable feature requests board with filtering and creation modal.
- FeatureRequestSubmissionResult
- Result returned after submitting a new feature request.
- FeedbackAttachment
- Metadata and URL describing an uploaded file or screenshot attachment.
- FeedbackClient
- Primary API client for CupThread platform.
- FeedbackClientConfig
- Configuration for FeedbackClient.
- FeedbackComposer
- Form screen for composing and submitting user feedback with optional attachments.
- FeedbackDraft
- Data payload for submitting user feedback, bug reports, and suggestions.
- FeedbackSubmissionResult
- Confirmation result returned after submitting feedback to the CupThread API.
- ListFeatureRequestsResult
- Paginated list response for feature requests.
- MarkdownText
- Lightweight Markdown renderer supporting headers, bullet lists, bold, and code.
- MemoryTokenStorage
- In-memory storage adapter default.
- PublicAppConfig
-
Public application configuration returned by
GET /api/v1/public/config/:appKey. - PublicAppSummary
- App summary card on a user profile.
- PublicUserProfile
- Public profile of a developer or user.
- PublicUserProfileResult
- Full public user profile response.
- RecentCommenter
- Recent commenter on a feature request card.
- RoadmapBoardScreen
- Screen presenting the app's Kanban roadmap board grouped by stage columns.
- SdkAppearance
- SDK appearance and feature settings configured in the CupThread Developer Console.
- SdkFeatures
- Feature flags controlling the visibility of user-facing SDK surfaces.
- TokenStorageAdapter
- Optional storage delegate for persisting token across app restarts.
- UserAttributesUpdateResult
- Result of reporting user attributes.
- UserProfileComment
- Comment preview on a user profile.
- UserProfileView
- Screen presenting a public user/developer profile page.
- UserTokenStore
- Manages anonymous persistent user token UUID.
- VoteButton
- Upvote button with optimistic UI state.
- VoteResult
- Result of toggling an upvote on a feature request.
- WhatsNewScreen
- Screen presenting changelog release notes with email subscription.
Enums
- AttachmentKind
- Storage backend category of an uploaded attachment.
- BoardColumnKind
- Semantic category of a Kanban roadmap board column.
- FeedbackPlatform
- Platform identifier accepted by the CupThread REST API and Developer Console.
- SdkTheme
- Predefined color themes supported by the CupThread SDK and Developer Console.
Functions
-
formatFileSize(
int? bytes) → String - Formats byte count into a human-readable file size string.
-
formatRelativeDate(
String? isoString, {CupThreadStrings? strings}) → String - Formats an ISO 8601 string to a human-friendly relative date.
-
generateUuid(
) → String - Generates a standard RFC 4122 v4 compliant UUID in pure Dart.
-
iso8601Now(
) → String - Returns current UTC timestamp in ISO 8601 format.
Exceptions / Errors
- AuthenticationRequiredException
- Thrown when anonymous access is disabled and user token was not provided.
- FeedbackException
- Base exception for all CupThread SDK operations.
- InvalidResponseException
- Thrown when response parsing or network transport fails.
- UnexpectedStatusException
- Thrown when the CupThread API returns an unexpected HTTP response status.
- UnreadableUploadResponseException
- Thrown when attachment upload response cannot be parsed.