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

outdated

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
///
/// this option also disables the animation!
final Color selectedColor;

/// Color of the border when selected
///
/// this option also disables the animation!
final Color selectedBorderColor;

/// this is called when a user taps on a number
final ValueChanged<int> onSelectRating;
0
likes
0
points
5
downloads

Publisher

unverified uploader

Weekly Downloads

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

unknown (license)

Dependencies

flare_flutter, flutter

More

Packages that depend on numbered_rating