Pakete, Repositories und App-Kategorien suchen

Cover von flutter_reaction_button
Paketdetailsv3.0.0+3

flutter_reaction_button

Flutter Reaction Button ist ein anpassbares Flutter-Paket, mit dem Sie einfach interaktive Buttons mit Reaktionsemojis erstellen können, ähnlich den ikonischen Reaktionsbuttons von Facebook.

AndroidiOSWebmacOSWindowsLinux
30-Tage-Downloads
166
Likes
316
Pub-Punkte
140

Paket installieren

flutter pub add flutter_reaction_button

Paketübersicht

Aus öffentlichen Paketdaten erstellte Orientierung.

Flutter Reaction Button ist ein anpassbares Paket, das Entwicklern ermöglicht, interaktive Emoji-Reaktionsbuttons in Flutter-Anwendungen zu implementieren und den beliebten Interaktionsstil sozialer Medien wie Facebook nachzuahmen. Es unterstützt mehrere Plattformen wie Android, iOS, Web, macOS, Windows und Linux. Das Paket ermöglicht eine einfache Integration mit anpassbaren Emojis, Animationen und Callback-Verarbeitung für Benutzerinteraktionen. Ideal für soziale Funktionen wie Likes, Reaktionen oder Feedback-Mechanismen in Messaging- oder Content-Sharing-Apps.

Anwendungsfälle

  • Interaktionen in sozialen Medien-Apps
  • Benutzerfeedback-Systeme
  • Reaktionsbuttons in Messaging-Apps
  • Inhaltsengagement-Funktionen
  • Interaktive Benutzeroberflächenelemente

Hauptmerkmale

  • Anpassbare Emoji-Sammlung
  • Glatte Animationseffekte
  • Plattformübergreifende Unterstützung
  • Rückruf für Reaktionsauswahl
  • Einfache Integration mit bestehender Benutzeroberfläche

Geeignet für

  • Entwickler, die soziale Apps erstellen
  • UI-Designer, die interaktive Elemente suchen
  • Apps, die Benutzerengagement-Funktionen erfordern
  • Projekte mit Multiplattform-Deployment

Hinweise

  • Kann die Bundle-Größe leicht erhöhen
  • Erforderliche sorgfältige Emoji-Auswahl im Kontext
  • Die Animationsleistung unterscheidet sich auf günstigeren Geräten
  • Nur begrenzt auf emoji-basierte Reaktionen

Original-README

Originaler README-Schnappschuss aus dem verknüpften Quell-Repository. Aktuelle Inhalte finden Sie im Repository.

pub package

Flutter reaction button

Flutter Reaction Button is a customizable Flutter package that allows you to easily create interactive buttons with reaction emojis, similar to Facebook's iconic reaction buttons.

Screenshot

App Screenshot

Installation

# pubspec.yaml
dependencies:
  flutter:
    sdk: flutter
  flutter_reaction_button: <last-version>

Usage

import 'package:flutter_reaction_button/flutter_reaction_button.dart';

ReactionButton<String>(
    onReactionChanged: (Reaction<String>? reaction) {
        debugPrint('Selected value: ${reaction?.value}');
    },
    reactions: <Reaction<String>>[
        Reaction<String>(
            value: 'like',
            icon: widget,
        ),
        Reaction<String>(
            value: 'love',
            icon: widget,
        ),
        ...
    ],
    initialReaction: Reaction<String>(
        value: 'like',
        icon: widget,
    ),
    selectedReaction: Reaction<String>(
        value: 'like_fill',
        icon: widget,
    ),
)

License

MIT License

Copyright (c) 2023 Abdelouahed Medjoudja

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Kategorien

Quell-Repository

Projekte, die dieses Paket verwenden