# Flutter

Coming soon to pub.dev. Texa AI's chat as a widget in your Flutter app.


!!! note "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](/desk/live-chat#in-a-mobile-app) or your own
    screens on the [widget routes](/api-reference/texa-api) work today.

```dart
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](/sdks/react-native), with `TexaWidgetClient` for your
own screens and `TexaVoiceLine` for voice.
