Skip to content
pubscout

flutter_chat_reactions

1.0.0, released 8 weeks ago by an unverified publisher

Add message reactions and context menus with adaptive Cupertino and Material styling.

WASM-readyCopyleft license
$ flutter pub add flutter_chat_reactions
Source repository

What it does

Adds chat message reactions and context menus with adaptive iOS and Material styling. It supports multiple presentations such as focused overlays, compact bars, and bottom sheets, alongside optional controller-managed state with optimistic updates.

AI-written summary of version 1.0.0, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You are building a chat application and need reaction pickers or context menus.
  • You want platform-adaptive styling (Cupertino on iOS/macOS, Material elsewhere).

Skip it when

  • Your app does not involve messaging or chat features.
  • You need a built-in emoji picker included directly in the package (this package has zero dependencies and requires an external picker).

Strengths

  • Zero external dependencies
  • Multiple swappable presenters (focused overlay, compact bar, bottom sheet, custom)
  • Adaptive iOS and Material styling with deep theming support
  • Accessible out of the box with semantics, keyboard navigation, and screen reader actions

Weaknesses

  • Does not include a built-in emoji picker (requires a pluggable adapter)
  • Requires Flutter 3.32 or newer

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0

Requires Flutter 3.32 or newer. Zero native dependencies.

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

void main() => runApp(const QuickStartApp());

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

  @override
  State<QuickStartApp> createState() => _QuickStartAppState();
}

class _QuickStartAppState extends State<QuickStartApp> {
  final _controller = ReactionsController(
    currentUserId: 'me',
    currentUserName: 'You',
  );

  @override
  void dispose() {
    _controller.dispose();
    super.dispose();
  }

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        body: ListenableBuilder(
          listenable: _controller,
          builder: (context, _) => ReactableMessage(
            reactions: _controller.summariesFor('m1'),
            onReactionSelected: _controller.bind('m1').onReactionSelected,
            child: const Text('Message m1'),
          ),
        ),
      ),
    );
  }
}

Alternatives

Packages that do the same job and could replace flutter_chat_reactions.

  • storyly_flutter

    Official Flutter package of Storyly to easily add stories to your app.

  • chat_context_menu

    iOS-style chat context menus and selectable text widgets for Flutter applications.

  • seed_ui

    Themeable widget library with 45+ token-driven components and context-free message APIs.

  • chat_toolkit

    A chat widget toolkit for Flutter with message grouping, async sending, and custom bubbles.