Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 824 Bytes

README.md

File metadata and controls

39 lines (30 loc) · 824 Bytes

example

simple demo

img

Getting Started

In your flutter project add the dependency:

dependencies:
  spon_rating_bar: ^0.0.1

Usage example

import 'package:spon_rating_bar/spon_rating_bar.dart';
SponRatingWidget(
                  value: 9,
                  size: 30,
                  padding: 5,
                  nomalImage: 'img/star_nomal.png',
                  selectImage: 'img/star.png',
                  selectAble: true,
                  onRatingUpdate: (value) {
                    ratingValue = value;
                    setState(() {
                    });
                  },
                  maxRating: 10,
                  count: 6,
                )