Orientação gerada a partir de informações públicas. Apenas para referência.
Um widget personalizável do Flutter projetado para coletar feedback dos usuários por meio de emojis. Permite que desenvolvedores integrem facilmente mecanismos de feedback baseados em humor em seus aplicativos, ajudando a avaliar a experiência e satisfação do usuário. O widget é altamente configurável, suportando diversos conjuntos de emojis e estilos de interação. Ideal para pesquisas, avaliações de aplicativos ou rastreamento de sentimentos em tempo real em múltiplas plataformas.
Casos de uso
Coletando sentimentos do usuário
Melhorar a experiência do aplicativo
Coletando feedback rápido
Pesquisas de satisfação do usuário
Rastreamento em tempo real de emoções
Feedback pós-interação
Principais recursos
Conjunto de emojis totalmente personalizável
Respostas de feedback configuráveis
Suporte multiplataforma
Integração simples
Design responsivo
Interface do usuário extensível
Indicado para
Aplicações móveis e web
Pesquisa de experiência do usuário
Coleta de feedback em aplicativos
Iniciativas de melhoria de produto
Designers e desenvolvedores de UX
Considerações
Requer personalização para casos de uso específicos
Limitado à entrada baseada em emojis
Pode ser necessário lógica adicional para o processamento de dados
Não adequado para feedback textual detalhado
Depende de gerenciamento externo de estado para resultados
README original
Snapshot do README original do repositório-fonte vinculado. Consulte o repositório para o conteúdo mais recente.
flutter_emoji_feedback
A fully customizable widget to receive feedback from your users. Useful to get the user's mood, evaluate their experience, and more!
📺 What's new?
You can now use animated lottie files (json files only) for emoji presets, or the provided notoAnimatedEmojis preset. (see #3)
EmojiFeedback(
initialRating: 4, // Set to null (default) for no initial rating
animDuration: constDuration(milliseconds: 300), // Duration of the animation
curve: Curves.bounceIn, // Curve of the animation
inactiveElementScale: .5, // Scale of the inactive element
onChanged: (value) {
// Callback when the user change the value of the emoji
},
onChangeWaitForAnimation: true, // Wait for the animation of the emoji to complete before calling `#onChanged`// Other parameters
);
Parameters
Parameter name
Description
Type
onChangeWaitForAnimation
If true, the emoji's animation will finish before calling #onChange
bool
initialRating
Sets the initial rating, if null, there will be no initial rating
int?
tapScale
The scale for when the user holds down the emoji, set to inactiveElementScale for none
double
animDuration
Duration of the animation
Duration
curve
Curve of the animation
Curve
inactiveElementScale
Scale of the inactive element
double
onChanged
Function called when an item is selected. Values goes from 1 to preset.length
ValueChanged<int?>?
emojiPreset
List of emojis. Available presets: classicEmojiPreset, flatEmojiPreset, threeDEmojiPreset, notoAnimatedEmojis, notoEmojis. You can create your own presets, see Defining Presets.
EmojiPreset
presetBuilder
Custom emoji widget builder
EmojiBuilder?
showLabel
Whether the label should be displayed or not
bool
labelTextStyle
Style of the emoji label
TextStyle?
customLabels
Define your custom labels. Useful if you wish to use the predefined emojis with custom labels
List<String>?
inactiveElementBlendColor
Custom blend color for inactive elements
Color?
spaceBetweenItems
Space between items
double
elementSize
Size of emoji elements
double?
labelPadding
Label padding
EdgeInsetsGeometry
enableFeedback
Enable haptic feedback
bool
minRating
Minimum rating
int
maxRating
Maximum rating
int
onChangeWaitForAnimation
If true, the onChange callback will be called after the animation is completed
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
Fork the Project
Create your Feature Branch (git checkout -b feature/AmazingFeature)
Commit your Changes (git commit -m 'Add some AmazingFeature')
Push to the Branch (git push origin feature/AmazingFeature)