패키지, 저장소 및 앱 카테고리 검색

flutter_reaction_button 표지
패키지 상세v3.0.0+3

flutter_reaction_button

Flutter Reaction Button은 Facebook의 상징적인 반응 버튼과 유사한 반응 이모티콘을 갖춘 인터랙티브 버튼을 쉽게 만들 수 있는 사용자 정의 가능한 Flutter 패키지입니다.

AndroidiOSWebmacOSWindowsLinux
30일 다운로드
166
좋아요
316
Pub 점수
140

패키지 설치

flutter pub add flutter_reaction_button

패키지 개요

공개 정보를 바탕으로 생성한 선택 가이드입니다.

Flutter Reaction Button는 개발자가 Flutter 앱에서 인터랙티브한 이모지 반응 버튼을 구현할 수 있도록 해주는 사용자 정의 가능한 패키지입니다. 페이스북과 같은 소셜 미디어 플랫폼에서 볼 수 있는 인기 있는 소셜 상호작용 스타일을 모방합니다. Android, iOS, Web, macOS, Windows, Linux 등 여러 플랫폼을 지원합니다. 사용자 정의 이모지, 애니메이션 및 사용자 상호작용에 대한 콜백 처리를 쉽게 통합할 수 있습니다. 메시징 또는 콘텐츠 공유 앱에서 좋아요, 반응, 피드백 메커니즘과 같은 소셜 기능에 적합합니다.

사용 사례

  • 소셜 미디어 앱 상호작용
  • 사용자 피드백 시스템
  • 메시징 앱 반응 버튼
  • 콘텐츠 참여 기능
  • 인터랙티브 UI 요소

주요 기능

  • 사용자 지정 이모지 세트
  • 부드러운 애니메이션 효과
  • 크로스 플랫폼 지원
  • 반응 선택을 위한 콜백
  • 기존 UI와의 간편한 통합

적합한 대상

  • 소셜 앱을 개발하는 개발자
  • 상호작용 요소를 찾는 UI 디자이너
  • 사용자 참여 기능이 필요한 앱
  • 다중 플랫폼 배포를 갖춘 프로젝트

고려 사항

  • 패키지 크기가 약간 증가할 수 있습니다
  • 맥락에 맞게 신중하게 이모지를 선택해야 합니다
  • 저사양 기기에서는 애니메이션 성능이 다를 수 있습니다
  • 이모지 기반 반응만 가능

원본 README

연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.

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.

카테고리

소스 저장소

이 패키지를 사용하는 프로젝트