sourcebytes_bot_sdk 0.0.2 copy "sourcebytes_bot_sdk: ^0.0.2" to clipboard
sourcebytes_bot_sdk: ^0.0.2 copied to clipboard

An Indo-sakura chatbot package from source byte to train your AI model and seamlessly give you a polished output.

example/lib/main.dart

import 'package:example/stub.dart';
import 'package:flutter/material.dart';
import 'package:sourcebytes_bot_sdk/sourcebytes.dart';

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

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'SourceBytesBot Example',
      debugShowCheckedModeBanner: false,
      home: ExampleScreen(),
    );
  }
}

class ExampleScreen extends StatefulWidget {
  const ExampleScreen({super.key});

  @override
  State<ExampleScreen> createState() => _ExampleScreenState();
}

class _ExampleScreenState extends State<ExampleScreen> {
  @override
  Widget build(BuildContext context) {
    return SourceBytesBot(
      userId: userId,
      botId: botId,
      onBotMessage: (message) {},
      sendMessageOnTap: (message) {},
      onLogin: (email, password) {},
      showWelcomeScreen: false,
      baseUrl: 'https://dev.sourcebytes.ai/api/v1',
    );
  }
}
0
likes
0
points
296
downloads

Publisher

unverified uploader

Weekly Downloads

An Indo-sakura chatbot package from source byte to train your AI model and seamlessly give you a polished output.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

build_runner, cached_network_image, cached_network_svg_image, device_info_plus, flutter, flutter_riverpod, freezed, freezed_annotation, http, intl, json_annotation, json_serializable, lottie, network_info_plus, riverpod, shimmer

More

Packages that depend on sourcebytes_bot_sdk