custom_rating_bar 1.0.2
custom_rating_bar: ^1.0.2 copied to clipboard

Flutter Android iOS Linux macOS web Windows

Custom rating bar for flutter with support of custom icons, half icons, directions, alignments & more.

rating_bar #

Custom rating bar for flutter with support of: custom icons, half icons, directions, alignments & more.

Getting Started #

Instalation #

Add this to your pubspec.yaml file:

dependencies:
 custom_rating_bar: ^1.0.2

How to use #

import 'package:custom_rating_bar/custom_rating_bar.dart';

Basic widget

RatingBar(
  filledIcon: Icons.star, 
  emptyIcon: Icons.star_border,
  onRatingChanged: (value) => debugPrint('$value'),
  initialRating: 3,
  maxRating: 5,
)

Read only widget

RatingBar.readOnly(
  filledIcon: Icons.star, 
  emptyIcon: Icons.star_border,
  initialRating: 4,
  maxRating: 5,
)

Examples #

3
likes
100
pub points
34%
popularity

Custom rating bar for flutter with support of custom icons, half icons, directions, alignments & more.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

marcsanny96@gmail.com

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on custom_rating_bar