v_chat_sdk 2.0.0-rc.1 copy "v_chat_sdk: ^2.0.0-rc.1" to clipboard
v_chat_sdk: ^2.0.0-rc.1 copied to clipboard

V Chat Flutter SDK umbrella with client integration and accessible UI components.

v_chat_sdk #

The public umbrella package for the V Chat Flutter SDK. Its primary library exports the Flutter SDK integration and the optional accessible, localized, themeable widget library from one dependency.

This 2.0.0-rc.1 release is a breaking successor to the legacy v_chat_sdk 1.x package. Read MIGRATION.md before upgrading. The widget implementation remains presentation-only: it owns no client session, network request, database, authorization decision, retry, navigation, or state-management framework.

import 'package:flutter/material.dart';
import 'package:flutter_localizations/flutter_localizations.dart';
import 'package:v_chat_sdk/v_chat_sdk.dart';

MaterialApp(
  localizationsDelegates: const <LocalizationsDelegate<Object?>>[
    VChatUiLocalizations.delegate,
    GlobalMaterialLocalizations.delegate,
    GlobalWidgetsLocalizations.delegate,
    GlobalCupertinoLocalizations.delegate,
  ],
  supportedLocales: VChatUiLocalizations.supportedLocales,
  theme: ThemeData(
    extensions: <ThemeExtension<VChatUiThemeData>>[
      VChatUiThemeData.fromColorScheme(
        ColorScheme.fromSeed(seedColor: const Color(0xff4658d9)),
      ),
    ],
  ),
  home: VChatConversationListView(
    items: conversations,
    onConversationPressed: onConversationPressed,
  ),
);

Map already-authorized SDK snapshots explicitly:

final VChatUiConversation item = VChatUiConversation.fromSnapshot(
  snapshot,
  title: safeDisplayName,
  preview: safePreview,
  timestampLabel: formattedTime,
);

The host remains responsible for bounded paging, subscriptions, reconciliation, callbacks, error handling, and clearing composer text after an accepted send. Add Flutter's standard localization delegates in the application when localized Material widgets and automatic RTL are required.

Applications that only want presentation types may import the secondary library:

import 'package:v_chat_sdk/v_chat_flutter_ui.dart';
23
likes
0
points
405
downloads

Publisher

verified publishervchatsdk.com

Weekly Downloads

V Chat Flutter SDK umbrella with client integration and accessible UI components.

Homepage
Repository (GitHub)
View/report issues

Topics

#chat #flutter #widget #accessibility #sdk

License

unknown (license)

Dependencies

flutter, flutter_localizations, v_chat_core, v_chat_flutter

More

Packages that depend on v_chat_sdk