reviews_slider 1.0.2 copy "reviews_slider: ^1.0.2" to clipboard
reviews_slider: ^1.0.2 copied to clipboard

outdated

Animation widget with changing smile to collect users review grade.

reviews_slider #

Flutter reviews slider;

example

Getting started #

You should ensure that you add the router as a dependency in your flutter project.

dependencies:
 reviews_slider: "^1.0.0"

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
107
likes
0
pub points
84%
popularity

Publisher

verified publisherkherel.com

Animation widget with changing smile to collect users review grade.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, vector_math

More

Packages that depend on reviews_slider