Websites and apps
Flutter
Coming soon to pub.dev. Texa AI's chat as a widget in your Flutter app.
Coming soon
texa_flutter is written and tested but isn't on pub.dev yet. This is how the component will
look. Until then, a web view of the live chat or your own
screens on the widget routes work today.
Flutter
TexaChat(
siteKey: 'pk_live_...',
getSession: () async => user == null ? null : WidgetSession.fromJson(await api.texaSession()),
signedIn: user != null,
actions: {'fill_delivery_address': (inputs) async => {'filled': true}},
onOpenPage: (url, page) => Navigator.pushNamed(context, url),
)
The same props as the React Native component, with TexaWidgetClient for your
own screens and TexaVoiceLine for voice.