custom_rating_bar

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

Getting Started

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

Libraries

custom_rating_bar