Feddy Docs
Flutter SDKOverview

Overview

Start here to understand the Feddy Flutter SDK surface area — what ships in the box and where each piece fits.

The Feddy Flutter SDK is a single Dart package that gives your app drop-in Material widgets for feedback and roadmap, a Smart Review prompt with a 2-step gate, automatic subscription detection, and a small imperative API for building anything custom on top of the same data.

What's in the box

SurfacePurpose
Feddy.configure(apiKey: ...)One-line bootstrap with your Project ID.
FeddyProvider widgetMounts the built-in compose modal and Smart Review sheet so the imperative APIs work from anywhere in your tree.
Feddy.identify(...)Attribute writes to a real user identity. Optional.
Feddy.openFeedback(boardKey: ...)Open the bundled compose modal from anywhere.
Feddy.requestReviewIfAppropriate(trigger: ...)Gated Smart Review prompt with the 2-step like / dislike sheet.
Feddy.submitRequest(...)Programmatic submit. Fire-and-forget, never throws.
Feddy.fetchRequests(...) etcAsync reads for fetch / vote / comment when you need a custom UI.
RequestListViewBundled feedback list with pagination, voting, and detail navigation.
RoadmapViewPublic roadmap with Planned / In Progress / Completed tabs.
FeedbackComposeViewBundled compose widget, mountable inside a showModalBottomSheet.

Two API styles

The SDK is split deliberately so fire-and-forget writes never need a try / catch:

  • Synchronous, never-throws: configure, identify, submitRequest, setSubscription, reset. Errors log to the console and queue for retry where it makes sense.
  • Async / throws: fetchRequests, fetchRequest, fetchComments, upvote, addComment, fetchBoards. Failures throw FeddyError (network or HTTP).

What ships in the box vs the host

Unlike the React Native SDK, the Flutter package bundles its image picker and IAP dependencies directly — no optional setup is required for image attachments or subscription auto-detection.

  • Image attachments: image_picker is bundled. Add the platform privacy strings once and the compose widget shows the camera roll button.
  • Subscription auto-detection: in_app_purchase is bundled. The SDK subscribes to Play Billing's purchaseStream on Android and reads SK2Transaction.transactions() on iOS.

Reading order

The next three pages take you from zero to fully integrated:

  1. Installationflutter pub add, Project ID setup, FeddyProvider mount, and the Feddy.configure(...) call at app launch.
  2. Authentication — identifying signed-in users and how anonymous-first attribution reconciles to a real user later.
  3. Common flows — open the feedback modal, push the roadmap as a route, trigger Smart Review, build a custom UI on top of the async API, and handle errors.

Status

The Flutter SDK is at v0.3.x, currently in beta. Breaking changes between minor versions are called out on the GitHub releases page. After 1.0, the SDK follows strict semver — minor / patch releases will not break callers.

On this page