Installation
Add the Flutter package:pubspec.yaml
Import
Initialize
Initialize AvatarKit once before loading avatars or creating an avatar view.DrivingServiceMode.direct for Direct Mode. Use DrivingServiceMode.backend when your Flutter app receives encoded audio payloads and motion data payloads from a Backend Mode.
Load an avatar
Render and control playback
The Flutter view creates anAvatarController when the platform view is ready. Keep that controller and use it for lifecycle, state, and audio operations.
Demos
Flutter Direct Mode demo
Direct Mode sample with bundled PCM files.
Flutter Backend Mode demo
Flutter client that talks to the Backend Mode reference server.

