StarRatingOptions class

Just a little class that allows to customize some rating bar options.

Constructors

StarRatingOptions({Color starsFillColor: Colors.orangeAccent, Color starsBorderColor: Colors.orangeAccent, double starsSize: 40, double starsSpacing: 0, double initialRating, bool allowHalfRating: false })
Creates a new star rating options instance.
const

Properties

allowHalfRating → bool
Whether we allow half-stars ratings.
final
initialRating → double
The initial rating.
final
starsBorderColor Color
The border color for the stars.
final
starsFillColor Color
The fill color of the stars.
final
starsSize → double
The stars size.
final
starsSpacing → double
The space between two stars.
final
hashCode → int
The hash code for this object.
read-only, inherited
runtimeType → Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed.
inherited
toString() → String
Returns a string representation of this object.
inherited

Operators

operator ==(dynamic other) → bool
The equality operator.
inherited