veta_chat_kit 0.1.0
veta_chat_kit: ^0.1.0 copied to clipboard
Chat / messaging strategy contract — threads, presence, typing indicators.
veta_chat_kit #
Provider-agnostic chat strategy contract for Flutter: threads, messages, presence, and typing state.
Install #
dependencies:
veta_chat_kit: ^0.0.0
Setup #
import 'package:veta_chat_kit/veta_chat_kit.dart';
import 'package:veta_foundations/veta_foundations.dart';
void main() {
configureVetaKits(chat: mockChatStrategy());
runApp(const MyApp());
}
Public exports #
ChatStrategy,ChatMessagemockChatStrategy
Use veta_chat_kit_firebase for the Firestore adapter or implement
ChatStrategy for a custom realtime backend.