score_indicator 1.0.0 score_indicator: ^1.0.0 copied to clipboard
Show a graphical indicator that displays a score/total with a label
score_indicator #
Display a graphical indicator that displays a score/total with a label
Features #
ScoreIndicator(
label: Text('Rating'),
count: 5,
score: 3,
radius: 8.0,
filledIndicatorColor: Colors.red,
emptyIndicatorColor: Colors.blue,
);
Notes:
- If
radius
is not provided it defaults to 4.0. - If
emptyIndicatorColor
is not provided it defaults toColors.grey
. score
must not be greater thancount
and should not be negative.count
andradius
must be greater than 0.