Search packages, repositories and app categories

GitHub repositorykherel/reviews_slider

reviews_slider

A Flutter animated widget made to help users leave reviews and feedbacks

reviews_slider project cover
Stars
92
Forks
16
Last push (UTC)
Jul 3, 2022
Project status
Active

Original README

English project snapshot. Visit GitHub for the latest content.

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
Kherel GitHub avatar
GitHub author

Kherel ↗

Alicante, Spain
LanguagesDartHTMLSwiftKotlinObjective-C

Categories

Packages published by this repository

Dependencies used

Dependency list 3 items

  • flutter{"sdk":"flutter"}
  • vector_math^2.1.0
  • flutter_testDevelopment{"sdk":"flutter"}

How do I choose a repository?

Start with your use case, compare repository activity, and check the original project before adopting it.

  1. Search by repository name, owner or description, then narrow the results by topic.
  2. Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
  3. Read the README, license and issues on GitHub before using a project.

Sources and maintenance

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗