Skip to content
API reference

Flutter SDK

Flutter API reference

Find the public Flutter facade, configuration, identity, messaging, knowledge base, telemetry, flag, theme, and push types.

Btx facade

Start new integrations with the static Btx facade and BtxHost.

  • Btx.configure(...) creates or replaces the SDK runtime configuration.
  • Btx.identify(...) binds a customer or clears identity with null.
  • Btx.ready() waits for pending configure and identity work.
  • Btx.log(...) queues structured telemetry.
  • Btx.featureFlags, isFeatureEnabled(...), featureFlagEnabled(...), and refreshFeatureFlags() expose evaluated flags.
  • Btx.messenger, Btx.knowledgeBase, and Btx.push group customer-facing actions.
  • Btx.status and statusListenable expose active, inactive, disabled, and disposed telemetry state.
  • Btx.flush(...) and Btx.dispose() provide explicit lifecycle boundaries.
01

Configuration and identity

02

Customer messages and presentation

The package also exports BtxThread, BtxMessage, BtxAttachment, BtxImageInput, messenger state enums, snapshot types, and intro models for advanced host integrations.

03

Knowledge base

04

Telemetry and feature flags

05

Push notifications

06

Advanced surfaces

The package exports BtxCustomerSdk, BtxClientController, BtxCustomerSdkScope, BtxMessengerMount, BtxMessengerScope, and BtxMessengerView for tests, custom embedded UI, and intentionally direct runtime ownership.