搜索插件、代码仓与 APP 分类

reviews_slider 封面
插件详情v2.0.0

reviews_slider

带有表情变化的动画小部件,用于收集用户评分。

AndroidiOSWebmacOSWindowsLinux
近 30 天下载
104
喜欢数
111
Pub 分数
130

安装插件

flutter pub add reviews_slider

插件介绍

基于插件公开信息、社区数据与项目使用情况整理的选型参考。

reviews_slider 包是一个动画 Flutter 小部件,旨在通过动态的笑脸过渡来收集用户评分。它提供了一种引人入胜且互动性强的方式,让用户通过滑动拇指在从皱眉到微笑的刻度上进行评分。非常适合用于反馈表单、应用评分或调查,通过流畅的动画和直观的手势提升用户体验。该小部件支持所有主要平台,包括 Android、iOS、Web、macOS、Windows 和 Linux,确保在各种设备上性能一致。

适合场景

  • 用户反馈收集
  • 应用评分系统
  • 调查界面
  • 产品评论表单
  • 交互式入门流程

主要特点

  • 动画表情过渡
  • 基于手势的评分
  • 跨平台兼容性
  • 可自定义外观
  • 流畅的用户界面交互

适合对象

  • 移动和网页应用
  • 反馈驱动的应用程序
  • 用户体验提升
  • 评分和评论功能
  • 交互式设计元素

使用建议

  • 需要手势输入感知
  • 仅限基于评分的反馈
  • 可能需要定制以实现品牌一致
  • 不适用于非交互式上下文
  • 依赖于低端设备上的动画性能

原始 README

以下为关联源码仓库的 README 原文快照,最新内容请访问源码仓库。

reviews_slider

Pub

Animated widget with changing smile to collect user review score

mobile

tablet

Getting started

Add reviews_slider: "^1.0.4" in your pubspec.yaml dependencies.

dependencies:
 reviews_slider: "^1.0.4"
How To Use

Import the following package in your dart file

import 'package:reviews_slider/reviews_slider.dart';

Basic Widget

  ReviewSlider(
    onChange: (int value){
      // active value is an int number from 0 to 4, where:
      // 0 is the worst review value
      // and 4 is the best review value
      print(value);
    }),
  ),
Parameter Default Description
initialValue 2 the init value of the slider
onChange Triggered every time when a pointer have changed the value of the slider and is no longer in contact with the screen.
options ['Terrible', 'Bad', 'Okay', 'Good', 'Great'] Review titles
optionStyle TextStyle(color: Colors.black) Text style of review titles

所属分类

依赖

依赖清单 1 项

源码仓库

使用此插件的项目