featurely library
Featurely Flutter SDK — an in-app feedback sheet for the self-hosted Featurely platform.
Host apps integrate in two calls:
await Featurely.init(
baseUrl: 'https://feedback.example.com',
apiKey: 'fk_…', // the project key, from Project Settings
);
// …from any button:
await Featurely.show(context);
Debug builds report to the Sandbox environment automatically; release
builds to Live. Pass environment: to init to override.
Classes
- Featurely
- The Featurely SDK facade.
- FeaturelyChatAction
-
An in-app action the AI support assistant may suggest in chat, such as
"Open Settings" or "Try again". Register them with
Featurely.registerChatActionsand handle taps withFeaturely.setChatActionHandler. - FeaturelyTheme
-
Theming knobs a host app can pass to
Featurely.init.
Enums
- FeaturelyChatActionResult
- What the chat does after the host app handled a tapped assistant action.
- FeaturelyEnvironment
- The environment this configuration reports to.
- FeaturelyErrorCode
- Stable error codes the v1 contract can return. Unknown codes decode to FeaturelyErrorCode.unknown and are treated as generic failures.
Typedefs
- FeaturelyErrorListener = void Function(String operation, Object error)
- Host callback invoked when an SDK operation fails after its retries.
Exceptions / Errors
- FeaturelyApiException
-
An error response from the API (
{error: {code, message}}). - FeaturelyNetworkException
- A transport-level failure (no HTTP response was received).