numbered_rating 0.1.4 copy "numbered_rating: ^0.1.4" to clipboard
numbered_rating: ^0.1.4 copied to clipboard

A Flutter Widget for displaying a Numbered_rating input with animation. this also can be used as a simple number input, where you want a fast input with only one click.

numbered_rating #

A Flutter package for an numbered rating choser.

How to use #

NumberedRating(
    onSelectRating: (val) {
      _selected = val;
    },
)

Screenshot #

Parameters #

/// starting number of rating
final int minRating;

///end number of rating
final int maxRating;

/// set the width for one rating circle
///
/// if this is not set, the widtch ranges from 70 to 100
final double fixedItemWidth;

/// Color of the circle
final Color color;

/// borderColor of the circle
final Color borderColor;

/// Color of the circle when selected
final Color selectedColor;

/// Color of the border when selected
final Color selectedBorderColor;

/// this is called when a user taps on a number
final ValueChanged<int> onSelectRating;

/// changes the select animation
///
/// Possible Values:
/// simple: no animation, only selectedColor is used
/// animatedCircle: Animation is used (default)
/// check: Check Icon Animation is used
final SelectMode selectMode;

Contribution #

Contributions and critics are welcome

0
likes
40
pub points
0%
popularity

Publisher

unverified uploader

A Flutter Widget for displaying a Numbered_rating input with animation. this also can be used as a simple number input, where you want a fast input with only one click.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

flare_flutter, flutter, selectable_circle

More

Packages that depend on numbered_rating