selectable_circle 0.1.6+4

Flutter Android iOS web

A Circle that can be showed as selected and as not Selected. Default selecting starts a flare animation.

selectable_circle #

A Flutter package for an Circle that can be Selected with animation.

How to use #

SelectableCircle(
    width: 80.0,
    onSelected: () {
    setState(() {
        _isSelected = !_isSelected;
    });
    },
    child: Icon(Icons.star),
);

Screenshot #

Parameters #

    /// the width and height of the CircleWidget
final double width;

/// is called when the circle is tapped
final VoidCallback onSelected;

/// child displayed on top of the circle
final Widget child;

/// widget should be displayed as selected
final bool isSelected;

/// 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;

/// widget that is displayed below the Circle for descriptions
final Widget bottomDescription;

/// 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;
4
likes
90
pub points
73%
popularity

A Circle that can be showed as selected and as not Selected. Default selecting starts a flare animation.

Repository (GitHub)
View/report issues

Documentation

API reference

Uploader

autlunatic@gmail.com

License

MIT (LICENSE)

Dependencies

flare_dart, flare_flutter, flutter

More

Packages that depend on selectable_circle