feedback_kit 0.1.0
feedback_kit: ^0.1.0 copied to clipboard
In-app feedback boards, voting and a public roadmap for Flutter. Auth-agnostic: bring your own identity via a FeedbackIdentityProvider, or let the built-in anonymous device identity handle it. Pairs w [...]
0.1.0 #
First release.
FeedbackClientover the platform Feedback service's public API: board config, paged posts, post detail with comments, voting, commenting, roadmap, changelog.- Two identity modes behind one seam.
AnonymousDeviceIdentitygenerates and persists a device token with no backend involved;CallbackIdentityProvidercarries a token your own backend signed with the board's key. The package never holds the signing key and never signs. - One transparent refresh-and-retry on an expired token, so a user is not told their session lapsed mid-tap.
- Typed failures (
FeedbackException.failure) so a signed-out visitor, a stale token and a rate limit can be told apart. - Screens:
FeedbackBoardScreen,FeedbackPostScreen,FeedbackSubmitScreen,FeedbackRoadmapScreen, plusPostTile/VoteButton/StatusChipfor hosts that want their own layout. - Optimistic voting that reverts on failure.
- Unknown status values from a newer service degrade to
openinstead of throwing.