flutter_reaction_button
3.0.0+3, released 3 years ago by an unverified publisher
A customizable interactive button with reaction emojis like Facebook.
WASM-ready
What it does
Allows developers to create interactive buttons that display a popup box of reaction emojis when interacted with. Users can select a reaction, which updates the button state.
AI-written summary of version 3.0.0+3, based on the package's README and metadata. Report an inaccuracy
Use it when
- You want to add Facebook-style reaction buttons to your posts or items.
- You need a customizable widget for choosing from a list of reaction icons.
Skip it when
- You need standard popup menus or context menus rather than social media reactions.
- You are building non-UI features like backend or storage.
Strengths
- Customizable reaction items and animated reactions box
- Supports multiple platforms including Android, iOS, Web, Windows, macOS, and Linux
Weaknesses
- Limited to reaction button functionality
- Breaking changes introduced in recent major versions (v3.0.0)
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 0
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,
),
],
)Alternatives
Packages that do the same job and could replace flutter_reaction_button.
- progress_state_button
A customizable progress button widget with multiple states for Flutter.
50Compare - flutter_gantt
Interactive Gantt chart widget for Flutter
75Compare - flutter_earth_globe
An interactive and fully customizable 3D Globe widget written in pure Dart.
80Compare - feedback
Widget to collect annotated screenshots and text feedback from users
84Compare