kuralit_sdk 0.2.0 copy "kuralit_sdk: ^0.2.0" to clipboard
kuralit_sdk: ^0.2.0 copied to clipboard

A Flutter SDK for integrating Kuralit AI agent overlay UI with WebSocket-backed voice and text interactions.

example/lib/main.dart

import 'package:flutter/material.dart';
import 'package:kuralit_sdk/kuralit.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Kuralit Example',
      theme: ThemeData(
        colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
        useMaterial3: true,
      ),
      home: const MyHomePage(title: 'Kuralit Example'),
    );
  }
}

class MyHomePage extends StatefulWidget {
  const MyHomePage({super.key, required this.title});

  final String title;

  @override
  State<MyHomePage> createState() => _MyHomePageState();
}

class _MyHomePageState extends State<MyHomePage> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        backgroundColor: Theme.of(context).colorScheme.inversePrimary,
        title: Text(widget.title),
      ),
      body: const Center(
        child: Column(
          mainAxisAlignment: MainAxisAlignment.center,
          children: <Widget>[
            Text(
              'Welcome to Kuralit Example',
              style: TextStyle(fontSize: 24),
            ),
            SizedBox(height: 20),
            Text(
              'Start building your package features here!',
              style: TextStyle(fontSize: 16),
            ),
          ],
        ),
      ),
    );
  }
}
1
likes
130
points
29
downloads

Documentation

API reference

Publisher

verified publisherkuralit.com

Weekly Downloads

A Flutter SDK for integrating Kuralit AI agent overlay UI with WebSocket-backed voice and text interactions.

License

MIT (license)

Dependencies

audio_session, flutter, record, web_socket_channel

More

Packages that depend on kuralit_sdk