RatingStyle enum

Constants

heart → const RatingStyle

A rating style with a single degree of rating, "heart" vs "no heart".

Can be used to indicate the content referred to is a favorite (or not).

const RatingStyle(1)
none → const RatingStyle

Indicates a rating style is not supported.

A Rating will never have this type, but can be used by other classes to indicate they do not support Rating.

const RatingStyle(0)
percentage → const RatingStyle

A rating style expressed as a percentage.

const RatingStyle(6)
range3stars → const RatingStyle

A rating style with 0 to 3 stars.

const RatingStyle(3)
range4stars → const RatingStyle

A rating style with 0 to 4 stars.

const RatingStyle(4)
range5stars → const RatingStyle

A rating style with 0 to 5 stars.

const RatingStyle(5)
thumbUpDown → const RatingStyle

A rating style for "thumb up" vs "thumb down".

const RatingStyle(2)
values → const List<RatingStyle>

A constant List of the values in this enum, in order of their declaration.

const List<RatingStyle>

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
index int

The integer index of this enum.

final
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.
override

Operators

operator ==(Object other) bool
The equality operator. [...]
inherited