v_chat_bubbles 1.2.6 copy "v_chat_bubbles: ^1.2.6" to clipboard
v_chat_bubbles: ^1.2.6 copied to clipboard

A comprehensive Flutter chat bubble library supporting Telegram, WhatsApp, Messenger, and iMessage styles with full theming, callbacks, text formatting, and custom bubble support.

example/lib/main.dart

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

import 'pages/style_selector_page.dart';

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

class MyApp extends StatefulWidget {
  const MyApp({super.key});
  @override
  State<MyApp> createState() => _MyAppState();
}

class _MyAppState extends State<MyApp> {
  Brightness _brightness = Brightness.light;
  Locale _locale = const Locale('en');
  void _onBrightnessChanged(Brightness brightness) {
    setState(() => _brightness = brightness);
  }

  void _onLocaleChanged(Locale locale) {
    setState(() => _locale = locale);
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'v_chat_bubbles Demo',
      debugShowCheckedModeBanner: false,
      locale: _locale,
      localizationsDelegates: const [
        GlobalMaterialLocalizations.delegate,
        GlobalWidgetsLocalizations.delegate,
        GlobalCupertinoLocalizations.delegate,
      ],
      supportedLocales: const [Locale('en'), Locale('ar')],
      theme: ThemeData(colorSchemeSeed: Colors.blue, useMaterial3: true),
      darkTheme: ThemeData.dark(useMaterial3: true),
      themeMode: ThemeMode.dark,
      home: StyleSelectorPage(
        brightness: _brightness,
        locale: _locale,
        onBrightnessChanged: _onBrightnessChanged,
        onLocaleChanged: _onLocaleChanged,
      ),
    );
  }
}
6
likes
160
points
273
downloads
screenshot

Publisher

verified publishervchatsdk.com

Weekly Downloads

A comprehensive Flutter chat bubble library supporting Telegram, WhatsApp, Messenger, and iMessage styles with full theming, callbacks, text formatting, and custom bubble support.

Repository (GitHub)
View/report issues

Topics

#chat #messaging #ui #widget #bubbles

Documentation

Documentation
API reference

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

cached_network_image, flutter, intl, v_chat_voice_player, v_platform, video_player

More

Packages that depend on v_chat_bubbles