circular_motion 0.0.1 copy "circular_motion: ^0.0.1" to clipboard
circular_motion: ^0.0.1 copied to clipboard

A package to create a circular positioned widgets and can be scrolled to rotate them in the desired circular way.

easy dashboard

This package provides a way to create widgets in a circular position and able to scroll and make them rotate.

Any Shape Any Position Customizable

The shape of cirlcle will be dependent on the parent widget.

Usage #

API

The centerWidget is the widget that will be in the center of the circular motion.

centerWidget: Text('Center'),

You can create the circular motion in the following ways:

CircularMotion #

Example:

CircularMotion(
    centerWidget: Text('Center'),
    children: [
     Text('0'),
     Text('1'),
     Text('2'),
     Text('3'),
  ],
)

CircularMotion.builder() #

Example

CircularMotion.builder(
    itemCount: 18,
    centerWidget: Text('Center'),
    builder: (context, index) {
      return Text('$index');
    }
)

Issues and Feedback #

Please feel free to report any issues you face
Also PR's and additional feedback is appreciated

Enjoy

26
likes
0
pub points
81%
popularity

Publisher

verified publisherlewiseman.com

A package to create a circular positioned widgets and can be scrolled to rotate them in the desired circular way.

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter

More

Packages that depend on circular_motion