reviews_slider 1.0.5

Flutter Android iOS web

Animated widget with changing smile to collect user review score.

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);
    }),
  ),
ParameterDefaultDescription
initialValue2the init value of the slider
onChangeTriggered 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
optionStyleTextStyle(color: Colors.black)Text style of review titles
18
likes
90
pub points
65%
popularity

Publisher

kherel.com

Animated widget with changing smile to collect user review score.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, vector_math

More

Packages that depend on reviews_slider