パッケージ、リポジトリ、アプリカテゴリを検索

floating_chat_button のカバー
パッケージ詳細v1.1.0

floating_chat_button

画面のどこにでもドラッグできるフローティングボタンで、ユーザーにメッセージを表示できます

AndroidiOSWebmacOSWindowsLinux
30日間ダウンロード
235
いいね数
56
Pub ポイント
150

パッケージをインストール

flutter pub add floating_chat_button

パッケージ概要

公開情報に基づく選定ガイドです。参考としてご利用ください。

ユーザーにメッセージを表示するためのドラッグ可能なフローティングボタンを提供するFlutterパッケージです。ボタンは画面全体で自由に移動でき、インタラクティブなチャットインターフェースやアプリ内通知に最適です。Android、iOS、Web、macOS、Windows、Linuxなど複数のプラットフォームをサポートしており、デバイス間での動作の一貫性を確保します。シンプルさと使いやすさを重視し、継続的かつアクセスしやすいコミュニケーション要素を提供することで、ユーザー参加度を高めます。

用途

  • アプリ内メッセージングシステム
  • ユーザー向けサポートチャットウィジェット
  • インタラクティブUI要素
  • リアルタイム通知表示
  • モバイル最優先のチャットインターフェース

主な機能

  • ドラッグ可能なインターフェース
  • クロスプラットフォーム互換性
  • メッセージ表示機能
  • カスタマイズ可能な位置指定
  • レスポンシブデザイン
  • Flutterとの簡単な統合

適している対象

  • チャットアプリを開発する開発者
  • インタラクティブ要素を探しているUIデザイナー
  • 継続的なユーザー通知を必要とするアプリ
  • クロスプラットフォームモバイルアプリケーション
  • シンプルだが効果的なコミュニケーションツール

注意事項

  • 複雑なレイアウトには追加のスタイリングが必要になる場合があります
  • 低スペックデバイスへのパフォーマンスへの影響
  • 基本的なメッセージレンダリングに限定
  • 高容量のチャットストリームには適していません
  • UIの混雑を避けるために慎重な配置が必要です

元の README

関連するソースリポジトリの README 原文のスナップショットです。最新の内容はリポジトリをご覧ください。

Show a draggable floating chat icon button and show messages on screens

Features

A widget for displaying a chat icon (or custom widget) on top of a background widget.

It can show and hide messages or display a message that is passed in its constructor.

Alt text Alt text Alt text

Getting started

Add it as the body of a scaffold (or other full screen view) and then supply the widget that should be shown under the chat widget as the background parameter.

Alternately, use a stack view to position the chat widget and leave the background as null.

The FloatingChatIcon will default to a blue circle with white chat icon and the messageWidget will default to a blue rounded rectangle with white text. All of these colours can be configured or custom widgets can be passed to chatIconWidget, messageWidget or messageTextWidget.

The ShowMessageParameters allows you to show the message passed to the constructor after a given delayDuration, for the amount of time specified in durationToShowMessage and at a random frequency (eg "Only show this message 50% of the time that the widget is instantiated") with showMessageFrequency.

Usage

@override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(widget.title),
      ),
      body: FloatingChatButton(
          background: BackgroundWidget(),
          onTap: (_) {
            _showBottomSheet(context);
          },
          messageText: "I like this package",
      )
    );
  }

カテゴリー

ソースリポジトリ

このパッケージを使用しているプロジェクト

データはまだありません。